Created
December 3, 2022 14:14
-
-
Save ritik1009/4050f85b37d12ff46fbe0c65e7c912fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph_url = 'https://graph.facebook.com/v15.0/' | |
def func_get_media_id(instagram_account_id = '',access_token = ''): | |
url = graph_url + instagram_account_id +'/media' | |
param = dict() | |
param['access_token'] = access_token | |
response = requests.get(url =url,params = param) | |
response = response.json() | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment