I am trying to put together a bash or python script to play with the facebook graph API. Using the API looks simple, but I\'m having trouble setting up curl in my bash scrip
Easy! Just use facebook-sdk.
import facebook app_id = 'YOUR_APP_ID' app_secret = 'YOUR_APP_SECRET' graph = facebook.GraphAPI() # exactly what you're after ;-) access_token = graph.get_app_access_token(app_id, app_secret)