how to get all facebook comments for a domain? - facebook-graph-api

For example I use Facebook comment for my website like:
http://i.imgur.com/jAcIs.jpg
Couple post has Facebook comments area comments too.
Now I wanna display recent 10 Facebook comments on on my sidebar ?
How can I do it ?
is that possible ?
the example with commented post:
http://fatihtoprak.com/usb-disk-flash-ten-format-atmak.html
Thanks.

Related

Can we get who all liked our page post in Facebook using their APIs?

I tried to consume Facebook API which need to get the list of who liked my post in my page. Is there any endpoint available in v15.0 (latest) ?
For Example:
If I have a page named "Restaurant" and i have posted a story on that page's feed as "New restaurant on the way to launch" and peoples are liking that post. I want to retrieve who and all liked that post along with the total count. How is it possible ?
Also a question, if a private account is liking that post in that "Restaurant page", how will it be counted too and can we fetch those details too ?
I have tried with the URL, https://graph.facebook.com/101882636084088/feed to get the page feeds and https://graph.facebook.com/{page-id}_{post-id}/likes, but I'm not able to fetch likes.
I also tried, https://graph.facebook.com/{page-id}_{post-id}?fields=likes.summary(true), I'm not getting proper count or who and all liked as response. Have anyone came across this scenario ?

photo not in any album facebook

i've noticed that there are some photos that doesn't appear in any albums. This photos are published by fan on a facebook page.
Is there any way to get this photos by the API ?
The API call /feed returns all the posts of the wall, but many of this photo that i seen in the wall on browser doesn't appear in the response of the API.
Any idea ?
Try using below
https://graph.facebook.com/<YOUR_PAGE_NAME>/picture
Hope this help
Kaushik
I use
graph.facebook.com/PAGEID/photos
Permissions Needed: user_photo_video_tags or friends_photo_video_tags.
refer to: http://developers.facebook.com/docs/reference/api/user/ user photos
http://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fphotos
I have a live example of this usage is you wish to test. it is an iframe plugin that feeds the photos for a page. "is not set up for users".
Just replace "anotherfeed" page user name with any page.
https://anotherfeed.com/api.beta.php?type=photos&pageid=anotherfeed&width=350&height=500&limit=20&offset=0

Facebook Comment page through API

I've searched for a while but I've only found the Facebook UI, that has some basic dialogs. Maybe some of you know some iOS apps that can open the comments page in a new "page" (e.g. Flipboard). Is there a way to show the comment page directly from Facebook or I have to simulate it through the API?
UPDATE: Not a page comment box. I want to show the comments of a post.
It is possible to create a facebook app showing your comment box. The same comment box can be showed in different pages/ urls using the "data-href" url.
<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>
You could eventually add an static url in a database or something like that to wich you can always refer.
I dont exactly know what you want but i hope this helps

Facebook Like Button for Facebook Page for Blog

I just created a Facebook page for my blog and am working on adding the like button. I suppose my first question is, is there already a like button added to a Facebook fan page itself and the code for the like button is so you can create a like button on a whole different page, like my Blogspot blog page? Since I'm the admin I'm not sure if I'm seeing whatever else is. If not, I'd like to add a like button to my Facebook page for people to like, but for the life of my cannot figure out where to paste the code. I know it says behind the tag, but that doesn't mean anything to me. Please help.
http://developers.facebook.com/docs/plugins/
On the Facebook page is a like button of course already integrated, on that page you can get code for your Blog or website.
Specifically, you're looking for this plugin:
https://developers.facebook.com/docs/reference/plugins/like/
Specify the URL you want the like button to like, whether that be your blog post or your facebook page.
You are looking for the facebook Like Box.
https://developers.facebook.com/docs/reference/plugins/like-box/

Multiple Facebook Likes - Have to link to 1 Facebook Page?

Ive made a website which you can 'like' and this is linked to the Facebook Page.
Is it possible to have individual blog posts 'liked'? If so, how could I still link these to the Facebook Page in some manor?
Thanks
You can set up Like Buttons for individual blog posts as long as each post has a distinct URL (which should be the case).
You cannot simultaneously Like a blog post and a Facebook page. A Like exists between one user and one Facebook object: http://developers.facebook.com/docs/reference/fql/like/
If you want to increase your Facebook page Like count, you can either direct people to the page itself or add a Like Box to your blog.