根据文档,链接端点将图片、名称和描述作为参数。来自发布部分下的https://developers.facebook.com/docs/reference/api/
Method Description Arguments
/PROFILE_ID/links Publish a link on the given profile link, message, picture, name, caption, description
但是,当我尝试这些参数时,它们会被忽略。下面的 Python 示例。
res = requests.post("https://graph.facebook.com/me/links",
data = {'access_token':t.auth_payload,
'message':'testing',
'link':'http://percolate.com',
'picture':'http://i.zdnet.com/blogs/facebook_news_feed.png',
'caption':'this is a caption',
'description':'this is a description',
'name':'this is a name'})
结果是: