skip to Main Content

Getting all my public posts using Facebook Graph API

How can i get all my facebook posts using python code and facebook graph api. i have tried using this code: import json import facebook def get_basic_info(token): graph = facebook.GraphAPI(token) profile = graph.get_object('me',fields='first_name,last_name,location,link,email') print(json.dumps(profile, indent=5)) def get_all_posts(token): graph = facebook.GraphAPI(token)…

VIEW QUESTION

Instagram Basic Display API Pagination

Is there anyway to use paging for the media results obtained using the Instagram Basic Display API? I've read the following documentations but they don't have any examples for using pagination: https://developers.facebook.com/docs/instagram-basic-display-api/reference/media/children https://developers.facebook.com/docs/graph-api/using-graph-api#paging I would like to limit the media…

VIEW QUESTION
Back To Top
Search