facebook-graph-api

How to loop over json array from facebook graph API

How to loop over json array from facebook graph API Question: How can I loop over a json array that looks like the one below, using python? { "insights": { "data": [ { "name": "page_impressions", "period": "day", "values": [ { "value": 14, "end_time": "2022-05-16T07:00:00+0000" }, { "value": 17, "end_time": "2022-05-17T07:00:00+0000" } ], "title": "Daily Total …

Total answers: 2

Overcoming Rate Limiting in Facebook Marketing API

Overcoming Rate Limiting in Facebook Marketing API Question: Specifically, I’m trying to do something very similar to this question (with the same problem): FB Ads API (#17) User request limit reached However, I’m trying to do this in python (and the API has changed quite a bit since ’15). Here’s my code (and it kicks …

Total answers: 5

Get all active campaigns from facebook ads api – how to set the filter

Get all active campaigns from facebook ads api – how to set the filter Question: I would like to get insights of all my active campaigns running on Facebook Ads. I manage to get all campaigns with FacebookAdsApi on my account but i am not able to use a filter so i only get campaigns …

Total answers: 2

html in facebook wall posts with graph api?

html in facebook wall posts with graph api? Question: Does anyone know if I can create wall posts with html content using facebook’s graph api? And if so, where I could find some documentation/examples? I don’t see anything useful here: http://developers.facebook.com/docs/reference/api/post/ It would appear that I can do this using fbml, but it also appears …

Total answers: 3

Facebook API and Python

Facebook API and Python Question: Does anyone know of a good platform agnostic example or library that does Facebook authentication and Graph API access via Python? The official Facebook Python SDK is tied to Google App Engine and Pyfacebook is deeply woven with Django. I just want to be able to mess around in terminal …

Total answers: 3