We are fishing posts, comments and so on for clients that have business pages on Facebook using the feed. Now Facebook permits business pages to reply to comments. Sadly in the feed, the replies to the comments are not included. Does anyone know how to include these in the feed?
I can't believe that we need to make a call for each comment one by one to Facebook using FQL or similar just to know if it has replies.
Any information is very welcome.
You have to find the post id to get all the comments-
select text from comment where post_id=
Related
The question is as what the title stated. For example:
Social Plugin
There are only 2 comments in the Facebook plugin for that link.
Facebook API
The Facebook API says that there are 47 comments. What is the cause of the different? My thought is that the social plugin only counts the number of comment via the plugin, while the Facebook API one counts all the comments including the social plugin and any comment on the link in the Facebook. Am I wrong?
Check out data from Graph API.
It returns precise data, comment count for a Url, which is commented by a social plugin.
You, on the other hand, are accessing data from table link_stat, which is used for, as per offcial documentation
An FQL table containing counts that show how users on Facebook are interacting with a given link.
In the end, I agree with you, you get all activity for that link on the whole FB.
I'm sorry for the cross posting, but it seems that I posted question to the general stackoverflow (not to facebook one).
(API call to Delete from facebook news feed)
Could you please help?
When the user (let it be Arnold) posts some link to his friend's wall (to Chuck) via my app, the FB also makes a post in a Chuck's news feed (with the same link). The question is - is there any FB API ability to delete the message from the Chuck's news feed?
Once the Chuck clicks the link posted by Arnold on Chucks wall, the same link on the news feed becomes no longer valid. So I need to drop the news feed post (but not the wall post) as link is disposable, but in the news feed looks like "new".
In the FB documents (http://developers.facebook.com/docs/reference/api/user/) under home section (This connection corresponds to the News Feed) I have not found any mentions about the ability to delete posts from news feed.
However there is an ability to delete a post. And somewhere on forums mentioned an ability to set is_hide=true to the news feed posts.
Dear guys, could you please suggest is there an ability to hide/delete news feed posts? Where I can find documentation about that?
Thanks
You can delete any Facebook Graph object if you have the appropriate permissions using the http delete method (or you can append method=delete to your api call.
e.g:http://www.facebook.com/[user_id]/posts/[post_id]?method=delete&access_token=[access_token]
I have a wordpress blog. Is it possible to publish a link to facebook so that the published link on my facebook business page has the same like counter as the one on the blog?
Also, can the comments section be the same? (i.e. if I post the link on facebook, when someone comments, it automatically updates the comments section of the blog post and vice versa?)
This is not possible, each set of likes and comments are independent. There is no way to perform a merge of this data currently.
The Facebook Wordpress plugin provides essentially most of what you can do currently to link Wordpress to the Facebook API http://wordpress.org/extend/plugins/facebook
You can't link the like counter of your posts and pages to your Facebook page, why? They're all separate post and pages. It only makes sense.
What you can do? You can announce your post on Facebook (timeline or business page) and all can comment on it. You can add Facebook comments to your posts and pages. The commenter has the choice of that comment showing up in his Facebook timeline. People can "like" the post announcement, or the post itself if you have the Like button on it. They both act separately because for people to actually like your post, they have to visit the page. For analytics it makes sense because you want to know who is in your Facebook page and who actually clicks to visit your site. Both are not the same, and that's the point.
If you want to actually merge your site with Facebook, it will have to be in the form of a Facebook app. If that's the direction you want to take, I believe you can find some help here on the matter.
I have a website that allows people to post events and it automatically posts their events to facebook if they so choose. I also integrated facebook comments on the event pages on my website.
Is it possible to merge the comments that people leave on my website's event pages with the comments that people leave on the facebook event page that was automatically made for them? I can't seem to find any documentation on this.
Edit: Just to clarify: The comments on my website are done via the facebook-comments API, they are not a module of my application.
Adding a separate answer, as after clarification it's significantly different.
If you want to basically have the wall of your event show up on your website, you can use the Event API to pull in wallposts and display them. To be able to post to that wall, you would have to do some custom coding to authenticate the user with publish_stream permission and then have a form on your site that would post to the event's wall, as noted in the post section of the above link.
Someone may have done this already and put code out there, but I doubt there is an easier way to get your ideal situation up and running. This use case isn't as automagic as the comments box, unfortunately.
If you're just looking to spread your events socially, however, the comments box will post to the commenters' walls with a link to your event page, which can then in turn point them to the Faecbook event. You might be able to use the Facebook event's URL as the URL for your comment box on the website, so it would just post a link directly to the Facebook event, but I'm not sure on that one.
I looked at this in my app, and we ended up deciding to just maintain separate streams. This is because it's only a one-way integration - you can get comments from Facebook via the Graph API and format them on your own website, in-line with your website comments, but there's no way to push comments from your website up to Facebook.
You could, if you wanted, just use the Facebook comment form for all comments - this has been done by big sites such as TechCrunch, and is effective, but it requires users to have a Facebook, AOL, Yahoo, or Hotmail account. Whether you want to do that or not depends on your preferences and userbase.
there a tool that combines comments form different pages or different sources
Check https://feedgun.com which works on pulling comments from different sources like YouTube videos, existing wordpress sites, facebook comments plugins and even DIsqus account and combine them all together and publish them on any of your webpages, and it all works automatically once you set them where to pull and where to publish.
I have a blog and use Social RSS to send the feeds to facebook Fan page Wall. When some one comments on that. i want that to be captured and published on my blog. will that be possible ?
Can use graph api, keep checking the last comment time on that post, if its greater than the one on the blog, pull all the comments and publish on the blog.
Cant think of a way for real time update.