I have a very simple server to server script that I just want to pull some metrics with.
app_id = '1234'
app_secret = '1234'
graph = facebook.GraphAPI()
access_token = graph.get_app_access_token(app_id, app_secret)
graph = facebook.GraphAPI(access_token=access_token)
metrics = graph.get_object(id='4312' + "/video_insights")
and this gets back with:
My app has manage_pages and read_insights permissions which is approved and everything....can someone please let me know what I am doing wrong?