SO, I belong to some facebook group. I am not admin and I want to get all posts from that group by others,
Idea is to filter those and get notification when someone posts something that passes filter.
Example, to get notification when post containing string "laptop" is posted.
Like this:
http://i.stack.imgur.com/yjaYT.jpg
I tries looking into facebook API but cannot find anything if I am not admin...
https://developers.facebook.com/docs/graph-api/reference/v2.2/group/feed
You can read the feed of a group with a User Access Token of any user that is member of the group, not sure what you found for Admins but they don't even get mentioned in the docs.
Keep in mind that you need the user_groups permission, and you will most likely not get it approved:
This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop and TV apps will not be granted this permission.
Source: https://developers.facebook.com/docs/facebook-login/permissions/v2.2
Related
I created several test users in my App in Facebook developer account and granted all of them user_friends permission and also connected them together through 'Manage user's Facebook friends' option. However when I try to retrieve one of those user's friends list, it returns only total count of friend, but not their data .. Does anyone know why is that happening ? Thank you in advance..
Test users list
me/friends request and response
Granted permissions to test users
Its a known bug of Facebook which has been reported here for app type Consumer/Business.
https://developers.facebook.com/support/bugs/721152122632278/
https://developers.facebook.com/support/bugs/615773773588521/
But you won't have any issue if your app time is Gaming Service, or you create a test app of your main app but don't forgot to create test users, assign them 'user_friend' permission and add them as a friend with each other. I followed the same process after going through alot of research and finally it worked.
I would like to get all the posts and updates that are normally displayed in FB official application for MY account (this includes updates from my friends and liked pages).
I wasn't able to find any details how to get that, the only thing I've managed to get is my own posts.
Anyone got any experience with that using current Graph API verion (3.3)?
All the alternate FB clients (ex. Friendly) must be doing this somehow.
There is no way to get ANY data of users who did not authorized your App. Which means, there is no way to get posts of friends. You can only get your own friends, with the user_posts permission and the /me/posts endpoint. If some Apps access friend data without their authorization, they are most likely doing something that is not allowed.
Here is what I found in their API docs:
There are two scopes:
The user feed requires the user's permission
The public feed has fewer capabilities but doesn't require perms
Hi There is a requirement in my application, where we need to show the user news feeds. For this we were using Facebook permission "read-stream" before Facebook has changed their list of permissions.
Now after they have shifted to the new API v2.0 there are comments saying that
"read_stream permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop, in-car and TV apps will not be granted this permission."
If this is so what is the alternative to make my app fetch news feeds as earlier.
There is a another permission called "User_Posts" which says "Provides access to the posts on a person's Timeline. Includes their own posts, posts they are tagged in, and posts other people make on their Timeline"
But i am not able to see any posts or news feeds in my application when i have replaced "read_stream" with "user_posts".
The alternative is the user_posts permission and the /me/posts endpoint. Of course this does not return posts of friends for privacy reasons. You can read more about that in the changelog.
If you donĀ“t get any results, make sure the Access Token includes the user_posts permission and debug it in the Debugger.
I am trying to create an action on an article so when a user, who has authorized the app lands on article, it publishes the fact they've read the article to their timeline.
This works for me without issue but when anyone else tries it, they get an error along the lines of
Requires extended permission: publish_actions
I saw a notice on Facebook saying :
While in Open Graph Beta, the 'publish_actions' permission can only be
requested from developers and test users of your app. The
'publish_actions' permission will be ignored if requested from any
other user.
However, the likes of Spotify, Guardian and Independent utilize pretty much exactly what I need. How come? What are they doing differently to me?
You have to submit your created action types here: https://developers.facebook.com/apps/<app_id>/opengraph - once they have been approved you will be able to use them publicly.
You have to submit the actions also you need to take the permission from the user.
There are two types of permission, user permission and friends permission. Your suppose to take 'publish_actions' permissions from user as well as from friend.
Running into an issue, which most likely is a permission thing with Facebook, but still worth asking on the forum. I'm able to successfully get the friends of the logged in / authorized user and can traverse the friends of that friend (if they've also installed the app).
So far, so good - however, I'm not able to peek at the relationship_status of the friends of friend - checked with the permission set and we seem to have the required perms as well.
The following are the perms I'm requesting from the user who signs up,for friends:
email,friends_relationships,friends_birthday,friends_about_me
Any ideas on what we might be missing? Am about to put this down to a per-user permission issue - but even friends with very low security don't have this attribute showing - which makes me feel that I'm missing some permission.
This won't work as there is no extended permissions for friends of friends. The only option would be to collect this information from the logged in user and their immediate friends, and then build this information up yourself as more people authenticate with your application, and then check to see what you know in your own database about friend of friends.