{"id":1467,"date":"2011-01-17T11:56:40","date_gmt":"2011-01-17T16:56:40","guid":{"rendered":"http:\/\/www.jamesg.net\/?p=1467"},"modified":"2011-01-19T17:05:49","modified_gmt":"2011-01-19T22:05:49","slug":"learning-the-facebook-graph-api","status":"publish","type":"post","link":"https:\/\/jamesg.net\/?p=1467","title":{"rendered":"Learning the Facebook Graph API"},"content":{"rendered":"<p>Earlier this month, I was approached by a software company  to assist writing a <a href=\"http:\/\/www.facebook.com\" target=\"_blank\">Facebook<\/a> application.\u00a0  I hadn\u2019t done this, however I have read about their powerful <a href=\"http:\/\/developers.facebook.com\/docs\/reference\/api\/user\/\" target=\"_blank\">Graph API<\/a> and was anxious to give it a shot.  The first step was to learn to connect to the facebook API, which was greatly assisted by using the <a href=\"https:\/\/github.com\/facebook\/php-sdk\/\" target=\"_blank\">PHP SDK<\/a> that has been written and released as open source. I&#8217;ll write a longer blog soon once I develop the application, but here&#8217;s the steps to begin writing your own external facebook application.<\/p>\n<ol>\n<li>Register your facebook application ( <a href=\"http:\/\/developers.facebook.com\/setup\/\" target=\"_blank\">link<\/a> )<\/li>\n<li>Download the Facebook PHP SDK (<a href=\"https:\/\/github.com\/facebook\/php-sdk\/tree\/master\/src\" target=\"_blank\">link<\/a>)<\/li>\n<li>Read tutorials to learn the basics (<a href=\"http:\/\/thinkdiff.net\/facebook\/graph-api-javascript-base-facebook-connect-tutorial\/\" target=\"_blank\">click here for a good one<\/a>)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this month, I was approached by a software company to assist writing a Facebook application.\u00a0 I hadn\u2019t done this, however I have read about their powerful Graph API and was anxious to give it a shot. The first step was to learn to connect to the facebook API, which was greatly assisted by using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[6],"tags":[221,220,264],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1467"}],"collection":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1467"}],"version-history":[{"count":2,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1479,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1467\/revisions\/1479"}],"wp:attachment":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}