Posting comments to Facebook Fan Page - facebook

I have implemented the Facebook Comments API using the documentation provided at: https://developers.facebook.com/docs/reference/plugins/comments/
The problem is that this uses my Facebook App and not my Facebook Company Fan Page.
I cannot seem to find any documentation telling me how to change this.
I want people to comment on my website and post the comments to my Facebook fan page (NOT my Facebook App)
Is this possible?

Yes it is possible.
First you have to customize the comment plugin for your page by filling "URL to comment on" textbox with your Facebook Page URL.
To get comments made, you should use Graph API. The URL that you can request with a valid acces token is https://graph.facebook.com/YOUR_PAGE_OBJECT_ID/comments

Related

Comment through Facebook Plugins are posting on my website, but not on the Facebook page

I am trying to add a Facebook comments box on my webpage.
I have tried several different plugins and they all have the same problem: When I try to comment on the facebook page in question through my website, the comment shows up on my website, but not on the Facebook page.
I have inputted the correct Facebook app ID and facebook page URL into the plugins.
I don't understand what I am doing wrong. I am using Rapidweaver as a web design program. Please help (and note that I am very new to this and not a programmer).
The comments will never show up on your Facebook page.
The comments plugin is a social interaction on your site, so users comment on your site not your Facebook page. No plugin will double post comments unless you explicitly ask for access from the user to post on your Facebook page. From what I have seen so far, no such plugin exists.
For more info: Read http://developers.facebook.com/docs/reference/plugins/comments/

Link or connect facebook comments plugin to comments on fan page wall posts

Facebook comments plugin - as far as I understand, if I have put the facebook comments plugin on a post web page, and the permalink of the post being commented on matches the base URL, then comments are stored via facebook using my post permalink.
Lets say if I post the permalink onto my facebook page wall (which I am the admin of), the open graph tags come into play, all the relavant data is pulled in, fb:admins, fb:app etc.
But is it possible to connect my facebook page (using my facebook page ID) to that permalink - so that comments posted on the page using comment plugin, connect/link with the post comments on my facebook page wall?
Thanks
This is currently not possible. We've implemented custom solution using Facebook Application and Facebook Javascript SDK on the website itself. You need to query the comments table of a specific Page post via FQL using your app access token from your server to retrieve all comments and render them on the page.
Then you need to provide user with several entry points for several states in order to enable posting for them. You need to solve four cases:
User doesn't like the page and didn't authorize your app
User doesn't like the page and authorized your app
User likes the page and didn't authorize your app
User likes the page and authorized your app
User needs to like your page and authorize your app with publish_stream permission in order to be able to comment on your page posts via your website. Of course you need to maintain reference between posts on your page and posts on your website.
The website where we did this a few years ago is BIGGBOSS click on "Komentáře" and find the same post on Facebook with the same comments.
As far as I understand your question its not possible to connect the comments from the commentbox, integrated in your non-facebook page (e.g a blog of yours), to the comments which are posted to a post on your fanpage.
The only solution would be to build an custom commentbox with the open-graph and publish the comments to the fanpagepost and additionally extract the comments out of the fanpage to display them on your blog.
But this requires accepting permission dialog before people are able to comment on your blog which would probably decrease the comments made. You would lose the benefit of the built-in commentbox.

Displaying Facebook Comments From FB Comment Box on a Website on Facebook Business Page Timeline

I have a client who wants their websites Facebook comments (from comment box) to be displayed on their Facebook Business Page.
Thanks for any help!
Create a iframe application, put the comments plugin there and specified the data-href/href (html5/xfbml) to be exactly the same as the one on their page ...

posting to Facebook Feed when comment is added to a website

I have created a Facebook App and a Facebook Page for a company. What I want to do is to trigger an event whenever someone adds a facebook comment on that company's website. This event will copy the comment and posts it to the company's Facebook Page (using the Facebook App). The name and the photo of the user who posts to the facebook page shouldn't be the original user, instead it will be replaced by the Facebbok App's name and photo.
How can I do that?
UPDATE
I have solved the first part here Posting comment to Facebook from JavaScript
the second part is still not solved yet (writing the comment back to the facebook page).
finally, I have managed to solve this.
find the answer here
Posting comment to Facebook from JavaScript

Restricting comment feature on Facebook Page to Users who liked the page?

Anyone aware of a way to restrict the capability of users to comment on a wall post on a Facebook Page to those who have liked that particular Facebook page?
Or is the user-linked-page information really only useable and accesible in an Facebook App Tab page?
In any case, this will not be bullet proof, because anyone can comment a page even if the FB comment widget is not installed.
Try to fill the form on this page
https://developers.facebook.com/docs/reference/plugins/comments/
with for instance www.google.com as URL.
You will be able to see comments has been made, (and you can add one) but I promise : Facebook has not installed any Facebook widget on google.com ;-)
Regards
Antoine