Answer the question
In order to leave comments, you need to log in
How to upload multiple videos to facebook wall?
Hello everyone, I'm conquering facebook's non-conquerable api.
Is there a way to post multiple photos?
url = 'https://graph.facebook.com/me/feed?'
data = {
'access_token': user.fb_token,
'message': message,
}
i = 0
for id in media:
data.update({'attached_media[%d]' % (i): '{"media_fbid": "%s"}' % (id)})
i += 1
resp = requests.post(url, data=data)
url = 'https://graph-video.facebook.com/%s/videos?no_story=true' % (fb_user_id)
data = dict(access_token=fb_token, file_url=file)
response = requests.post(url, data)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question