facebook-comments

Post new comment to a Status via API

我与影子孤独终老i 提交于 2019-12-03 21:26:59
I'm having a status_id and try to post a new comment to: POST https://graph.facebook.com/STATUS_ID/comments {message: "text" } I get the result { "error": { "message": "(#200) Cannot access object_id: 10150593515092107", "type": "OAuthException", "code": 200 } } I can do the same POST for /likes and it works. If I add a comment to a Photo it also works. I can then use the object_id of a photo but no such field exists on a status. arseny After two days of struggle i found the answer, at least for regular posts. Every object_id of a post on facebook consists from two parts: [author id]_[post id]

Is it possible to use Facebooks Comments Plugin with Graph Object IDs/Graph URLs rather than www URLs?

坚强是说给别人听的谎言 提交于 2019-12-03 19:30:54
问题 A little while ago, I built this: http://www.littlebray.co.uk/photos.aspx It's kind of an off-Facebook partial replica of a Facebook photo album gallery, the photos in the gallery section are all pulled from Facebook albums on the Page for Little Bray (fb.com/littlebray) enlarging them gives you a kinda full screen view of them with commenting facilties on the right margin, just like Facebook. You'll notice that, whilst this comment section looks a bit like a Facebook plugin, it isn't, and

Post comment with facebook like button doesn't work

社会主义新天地 提交于 2019-12-03 13:56:47
Im tryng to use the XFBML implementation of the Like Button, as it is described in the facebook social plugin page The like button appears and works fine (it asks for a confirm action, but it works ok). When i press the like button, a new dialog comment box popups that lets me add some comment to appear to my wall. However, when i press the "post to facebook" button, nothing happens and the popup dialog remains there. Finally, the comment doesn't appear to my facebook wall. Any help?? 来源: https://stackoverflow.com/questions/13494947/post-comment-with-facebook-like-button-doesnt-work

Facebook comment plugin Angularjs

╄→尐↘猪︶ㄣ 提交于 2019-12-03 10:17:16
问题 I am facing a strange error while adding the facebook comment plugin in my AngularJS app. The simplified structure of the app page is <html ng-app="myapp"> <head> ... </head> <body> <div> ... </div> <div ng-view></div> ... </body> </html> The page with fb comment box is loaded in ng-view. The structure of page that contains fb comment box is as follows <div id="fb-comment-box> <div class="fb-comments" data-href="http://mydomain.com/page/{{ page.id }}" data-numposts="5" data-colorsheme="light"

Facebook graph api comment count

℡╲_俬逩灬. 提交于 2019-12-03 05:53:02
问题 seems Facebook changed the result of posts, few weeks ago it was possible to read the comment count from the post directly https://graph.facebook.com/125909647492772_502974003098530 you got something like ... "comments": { "data": [ { "id": "502974003098530_78616446", "from": { "name": "Mathias Fritz", "id": "526559276" }, "message": "saugeil!", "can_remove": false, "created_time": "2013-03-26T14:58:01+0000", "like_count": 1, "user_likes": false } ], "paging": { "cursors": { "after": "MQ==",

Adding Facebook plugin comments for dynamic products

柔情痞子 提交于 2019-12-03 03:31:31
I installed facebook comments on my website. My website is a dynamic website and pages are like this www.example.com/page?id=54, www.example.com/page?id=67. If I post a comment in this page: www.site.com/page?id=54, it also appears in www.example.com/page?id=67. The comments are not unique for a page, but appear in every page i saw the question : Facebook comments, for each page . The answer in this question is that the problem is because of the "?" sign. It seems that "?" sign in the URL make it broken for the Facebook plugin. And I need to change form of URl writing. Because my website is 7

Facebook comment plugin Angularjs

吃可爱长大的小学妹 提交于 2019-12-03 00:46:13
I am facing a strange error while adding the facebook comment plugin in my AngularJS app. The simplified structure of the app page is <html ng-app="myapp"> <head> ... </head> <body> <div> ... </div> <div ng-view></div> ... </body> </html> The page with fb comment box is loaded in ng-view. The structure of page that contains fb comment box is as follows <div id="fb-comment-box> <div class="fb-comments" data-href="http://mydomain.com/page/{{ page.id }}" data-numposts="5" data-colorsheme="light"></div> </div> The page is angularjs scope variable which comes from controller. When i load this page

Facebook graph api comment count

假装没事ソ 提交于 2019-12-02 19:13:15
seems Facebook changed the result of posts, few weeks ago it was possible to read the comment count from the post directly https://graph.facebook.com/125909647492772_502974003098530 you got something like ... "comments": { "data": [ { "id": "502974003098530_78616446", "from": { "name": "Mathias Fritz", "id": "526559276" }, "message": "saugeil!", "can_remove": false, "created_time": "2013-03-26T14:58:01+0000", "like_count": 1, "user_likes": false } ], "paging": { "cursors": { "after": "MQ==", "before": "MQ==" } }, "count": 1 but now the count is missing. I did some research on the graph

Facebook comment box plugin

一曲冷凌霜 提交于 2019-12-02 08:32:05
问题 I am using Facebook comment box plugin: <fb:comments href="${myPageUrl}" num_posts="20" width="630"></fb:comments> Every thing is working fine. The problem is that I want to store the comment posted into my database. Is there any way to fetch the text posted on the comment box. I am using the following js to catch comment-create event. FB.Event.subscribe('comment.create', function(response) { alert(response.commentID) }); I'm getting some commentId from this but I don't know how to fetch the

How do I remove a facebook comment warning?

微笑、不失礼 提交于 2019-12-01 22:51:14
my fb comments code is: <fb:comments url="<?=$this_url?>" width="600" xid="<?=$this_unique_xid?>" notify="true" candelete="true" simple="1" numposts=1 url="http://www.veethi.com"></fb:comments> Now if i want to remove the warning message: Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit ‘href’ as suggested in the comments plugin documentation to take advantage of all plugin features I need to replace "url" to "href", but by doing this i lose my old comments, Is anyone who facing the problem or solution pls, reply me. I need