Facebook Resumable upload feature throws NotAuthorizedError exception

26 views Asked by At

I am testing resumable api but after generating the upload session Id using user access token and pushing png data as file data, I am getting b'{"debug_info":{"retriable":false,"type":"NotAuthorizedError","message":"User not authorized to perform this request"}}'

my request looks like this 'https://graph.facebook.com/v16.0/'+parsed['id'], headers={'Authorization': 'OAuth'+access_token, 'file_offset': '0'}, files=file

0

There are 0 answers