Welcome Guest, Not a member yet? Register   Sign In
Adding comments page site with the Facebook API
#1

[eluser]Calebe Aires[/eluser]
Is there some solution (HELPER) to simply grab the comments from the Facebook Graph API and render them in the body of your page behind the comments box?

I would like to get the comments fron Facebook API, made on one page from my site, to grab it. Facebook says the API is open to do that. The comments for every URL can be accessed via the graph API. Simply go to: https://graph.facebook.com/comments/?ids={YOUR_URL}.

For example, the comments on this URL can be accessed via: https://graph.facebook.com/comments/?ids...s/comments.

Facebook Says:

"The Facebook comments box is rendered in an iframe on your page, and most search engines will not crawl content within an iframe. However, you can access all the comments left on your site via the graph API as described above. Simply grab the comments from the API and render them in the body of your page behind the comments box. We recommend you cache the results, as pulling the comments from the graph API on each page load could slow down the rendering time of the page."


I have found some code for CakePHP. Is there some HELPER for CodeIgniter?
#2

[eluser]bubbafoley[/eluser]
I just saw this today. I haven't looked into it too in depth but it sounds like it might be what you are looking for.

http://ellislab.com/forums/viewthread/188430/
#3

[eluser]Calebe Aires[/eluser]
No, it is not.

I have put the Facebook Native Code, I need to get the comments from facebook to my MySql database. Facebook API let you do this. But, I wonder if I find some Library that do this job!




Theme © iAndrew 2016 - Forum software by © MyBB