Retrieve /feed or /tagged on facebook community pages - facebook

I am using FB graph API to fetch people's posts on community pages, such as this
I used the graph API explorer with url
However, if I try the /tagged url with a non community page such as this, I can retrieve people's posts on the page.
Do anyone know why /tagged only work in non community page?
Thank you!

Not really sure what do you mean with "Community pages" but this is a problem of permissions. Quoting the docs:
/{page-id}/tagged shows the posts to this page. It will also show some
posts in which the page has been tagged. It will only show tagged
posts where the person who made the post have installed the same app.
Link to the docs: https://developers.facebook.com/docs/graph-api/reference/v2.3/page/feed
So probably you do not have permissions to see post for that particular page.
I hope it helps.

Related

Facebook Like Box - Posts by others not appearing

I am trying to implement the Facebook like box onto my website to show posts by others onto my Facebook page, however it is only showing a feed of the posts the page has made to its timeline and not the posts of other Facebook users.
I'm not sure how I can get this to happen? I'm not bothered about having the page's posts appear but I definitely want other's posts to appear in the feed.
Any help would be greatly appreciated!
Afaik the Plugin only shows posts "by the Page", so that is intentional. Think of it this way: If you get many User postings and only write a few Page postings, your Page postings would just not be very visible in the plugin.
You can only use the "force_checkin" parameter of the plugin to show checkins of friends, see Facebook docs: https://developers.facebook.com/docs/plugins/like-box-for-pages
If you want to get the posts of Users on a Page, you would have to use the Graph API: https://developers.facebook.com/docs/graph-api/reference/v2.1/page/feed
The docs include some example code for most relevant languages and you will get User posts too. Of course you have to design it on your own, you just get data from the API.

How do I publish a blog post to facebook so that the likes and comments are merged?

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.

Graph API | Get facebook page members/likes

I've got a question about the facebook graph api.
I have a example facebook page: https://www.facebook.com/pages/TheBestCompany/250721784993387
And i want to get the images from all the people that liked that page.
I've found on this site that it is not possible to find the people that liked a external page. but thats not the case?
I hope to hear from you people:)
No, you can't do that!
Have a look at the facebook api: graph api pages. You can get the count of likes for a page, but there is no connection to the people who like it. Furthermore, if you would know the facebook ids of these users, you would need the user_photos permission.
Like button reference lists the options.
I don't know if 'show faces' is what you are looking for.

Facebook Comment Plugin Synced with Page?

I'm using the Facebook Comment plugin for comments on my site. I was hoping that comments made to links shared on my Facebook Page would also show up on my website.
For example, if I share a link to a blog post on my Facebook Page, and someone comments directly to that shared link, that comment does not also appear on the website.
Am I missing something? Is there a way to sync these two?
I think comments are self-contained. You could maybe use the API to build something that shares comments on your page with comments on your blog.

using Facebook api to access recent activity section

A user's wall has sections titled "Recent Activity" which include links to posts that the user has liked or commented on, plus recently used applications, new friends etc.
Is there a programmatic way to access this information using Facebook api or something else?
I noticed this info isn't included in user feed.
thanks alot
Isn't this the same with user feed? If so you can query the graph API by calling:
https://graph.facebook.com/<facebookID>/feed?access_token=<your access token>
Good luck!
As far as I can tell, this information isn't available through any API that Facebook offers.