Skip to content

Instantly share code, notes, and snippets.

@ritik1009
Created December 8, 2022 02:33
Show Gist options
  • Save ritik1009/d4f9dd5309e54419b0845ff7595159dd to your computer and use it in GitHub Desktop.
Save ritik1009/d4f9dd5309e54419b0845ff7595159dd to your computer and use it in GitHub Desktop.
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