например, я хочу опубликовать элемент Amazon следующим образом:
Код: Выделить всё
https://www.amazon.it/dp/....
Я использую Python 3.6, и у меня есть этот скрипт:
Код: Выделить всё
import facebook
graph = facebook.GraphAPI(access_token=token)
attachment = {
'name': 'Link name',
'link': 'https://www.amazon.it/dp/...',
'caption': 'Check out this example',
'description': 'This is a longer description of the attachment',
'picture': 'url_of_the_image'
}
graph.put_wall_post(message='Check this out...', attachment=attachment, profile_id='my_page_id')
Код: Выделить всё
raise GraphAPIError(result)
facebook.GraphAPIError: (#100) Only owners of the URL have the ability to specify the picture, name, thumbnail or description params.
Что я могу сделать?
Подробнее здесь: https://stackoverflow.com/questions/587 ... ave-the-ab
Мобильная версия