Facebook Posting from a Program

Use this page as reference:

http://nodotcom.org/python-facebook-tutorial.html

Basically, you need an access token to post to Facebook through an app. Get it through the Graph Explorer API (developers.facebook.com)

Posting requires publish_actions privileges

This is a short-lived token. To make it long lived (about 2 months), open the following in a browser:

https://graph.facebook.com/oauth/access_token?client_id={APP_ID}&client_secret={APP_SECRET}&grant_type=fb_exchange_token&fb_exchange_token={EXISTING_ACCESS_TOKEN}

Obviously replace the placeholders with your values.

FacebookApiBasics (last edited 2015-05-16 22:19:37 by DesmondRivet)