Created
December 8, 2022 02:33
-
-
Save ritik1009/d4f9dd5309e54419b0845ff7595159dd to your computer and use it in GitHub Desktop.
This file contains 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 status_of_upload(ig_container_id = '',access_token=''): | |
url = graph_url + ig_container_id | |
param = {} | |
param['access_token'] = access_token | |
param['fields'] = 'status_code' | |
response = requests.get(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