0

I am using js sdk to commment on every post which is being posted by any user on my FB Page. I made one app and one FB page. I put some posts on FB page but i am not able to comment on posts. I am using Graph API Explorer : https://developers.facebook.com/tools/explorer to test the functionality.

I have got the token with extended permission and then i tried :

page_id/feed?fields=id,from

I got all the posts and then i tried to the comment on a post using :

post_id/comments?message="Test Comment"

I got

{
  "data": [
  ]
}

which should instead return the comment id of new comment having message Test Comment.

Any Help will be highly appreciated !!

4

1 回答 1

0

我得到了解决方案,我使用的是 GET 请求,而不是使用 POST 请求

post_id/comments?message=Test Comment.

它将返回新的评论 ID。

于 2015-10-19T10:06:28.313 回答