Skip to content

Instantly share code, notes, and snippets.

@lz1irq
Created July 23, 2015 16:00
Show Gist options
  • Save lz1irq/2cebbf6d980aeacb4d50 to your computer and use it in GitHub Desktop.
Save lz1irq/2cebbf6d980aeacb4d50 to your computer and use it in GitHub Desktop.
Facebook API

Facebook API

Authentication, tokens

Page Access Tokens

The page admin must give an extended permission called manage_pages.

Graph API

Photo sharing

  • Social Plugins:

    • Like button - posts immediately on Timeline
    • Share button - allows adding a comment
    • Send button - send privately to friends

Facebook Developer account not required for web usage of the Social Plugins.

Photo hotlinking

CDN link is temporary. The way to reliably get the photos is using the API:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment