| Facebook-SDK. Facebook Graph API¸¦ Áö¿øÇϵµ·Ï ¼³°èµÈ ¶óÀ̺귯¸® |
Áö±Ý ´Ù¿î·Îµå |
Facebook-SDK. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Facebook, Inc.
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.facebook.com/
Facebook-SDK. ű×
Facebook-SDK. ¼³¸í
Facebook Graph API¸¦ Áö¿øÇϵµ·Ï ¼³°èµÈ ¶óÀ̺귯¸® Facebook SDK´Â Facebook ±×·¡ÇÁ API¿Í Facebook ÀÎÁõÀ» ±¸ÇöÇÏ´Â Á¤½Ä ¹æ¹ý ÀÎ PACHON Client API¿Í °ø½Ä Facebook JavaScript SDK¸¦ Áö¿øÇϵµ·Ï ¼³°èµÈ Python Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®ÀÔ´Ï´Ù. http://developers.facebook.com/docs/api.basic »ç¿ë¹ý : graph = facebook.graphapi (oauth_access_token) ÇÁ·ÎÇÊ = graph.get_object ( "³ª") friends = graph.get_connections ( "³ª", "Ä£±¸") graph.put_Object ( "³ª", "Çǵå", ¸Þ½ÃÁö = "³ª´Â ³» º®¿¡ ¾²°í ÀÖ½À´Ï´Ù!") »çÁø ¾÷·Îµå : graph = facebook.graphapi (oauth_access_token) ÅÂ±× = json.dumps () graph.put_photo ('img.jpg ', '¸ÚÁø »çÁøÀ» ºÁ!', album_id_or_none, tags = ű×) JavaScript SDK¿Í ÇÔ²² À¥ ÀÀ¿ë ÇÁ·Î±×·¥ ³»¿¡¼ ¸ðµâÀ» »ç¿ëÇÏ´Â °æ¿ì, ¸ðµâÀ» »ç¿ëÇÏ¿© ·Î±×ÀÎÀ» À§ÇØ FacebookÀ» »ç¿ëÇÏ¿© JavaScript SDK°¡ ¼³Á¤ ÇÑ ÄíÅ°¸¦ ±¸¹® ºÐ¼® ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. »ç¿ëÀÚ°¡ ·Î±×ÀÎ ÇÑ »ç¿ëÀÚ. ¿¹¸¦ µé¾î, Google AppEngine¿¡¼´Â »ç¿ëÀÚ = facebook.get_user_from_cookie (self.request.cookies, Å°, ºñ¹Ð) »ç¿ëÀÚÀÇ ÇÁ·ÎÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ °¡Á®¿Ã ¼ö ÀÖ½À´Ï´Ù. graph = facebook.graphapi (user ) profile = graph.get_object ( "³ª") friends = graph.get_connections ( "³ª", "Ä£±¸") ¿¹Á¦ / AppEngine.Reporting ¹®Á¦Á¡¿¡¼ Àüü AppEngine ¿¹Á¦ ÀÀ¿ë ÇÁ·Î±×·¥À» º¼ ¼ö ÀÖ½À´Ï´Ù. ¹ö±× ³ª ´Ù¸¥ ¹®Á¦°¡ÀÖ´Â °æ¿ì ¿©±â¿¡ ÆÄÀÏÀ» ÆÄÀÏ·Î ¸¸µå½Ê½Ã¿À. ...¿¡ ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã
Facebook-SDK. °ü·Ã ¼ÒÇÁÆ®¿þ¾î