Resources: Social Media

In order to do anything fancy with your Facebook Page, you need to get your Page ID. To do this, just visit your Page and in the URL, replace www. with graph. IE: >> becomes >>

Your Page ID is the first attribute in the resulting JSON array.

When building a social media feed, Facebook is the difficult one to work with as it uses higher-level API access. You can get away without using the API if you're happy with the low-res thumbnail graphics, but if you want nice, high res graphics you'll need to do the following:

  1. Register as an App Developer
  2. Create an App
  3. Generate an access_token
  4. Use this access_token to construct your feed URL

You can now use your constructed URL to grab a JSON-formatted feed from your wall! Bear in mind cross-domain access limitations with javascript calls like this. Personally I digest the JSON feed using PHP functionality:

json_decode( get_file_contents(URL HERE), true)
Let's work together