Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
import requests
access_token = 'ваш токен'
data = [
('url', 'https://www.facebook.com/images/fb_icon_325x325.png'), # url вашей фотографии
('caption', 'Test text'), # любой ваш текст который хотите публиковать
('access_token', access_token), # ну и токен куда мы без него
]
fb=requests.post('https://graph.facebook.com/me/photos', data=data)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question