[英]How to like a public status by a facebook user from another user via Graph API and Access Token
I tried https://graph.facebook.com/POST_ID/likes/?access_token=ACCESS_TOKEN
with user_likes
, friends_likes
, publish_stream
and read_stream
permissions 我尝试使用
user_likes
, friends_likes
, publish_stream
和read_stream
权限使用https://graph.facebook.com/POST_ID/likes/?access_token=ACCESS_TOKEN
But still I can't LIKE whatever public status I choose by FB Graph API, 但是我仍然不喜欢FB Graph API选择的任何公开身份,
It just RETURNS (An Empty Array) : 它只是返回(一个空数组):
{
"data": [
]
}
Am I doing something wrong? 难道我做错了什么? although after searching a lot I seen that peoples use the URL shown above with preferably PHP SDK to like
尽管经过大量搜索,我发现人们使用上面显示的URL最好使用PHP SDK来喜欢
Currently I'm trying it with just HTTPS
GET
request, I have enough knowledge of PHP SDK, any help will be much appreciated 目前,我正在尝试仅使用
HTTPS
GET
请求,我对PHP SDK有足够的了解,我们将不胜感激
要创建赞,您应该发出POST
请求或指定等于post
method
参数
您没有添加method = post?token_access“ ........
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.