We have a facebook account. That account 'Liked' 3 open facebook pages. When you login to that facebook account from your browser you can ofcourse see all the posts from those 3 pages on your news feed.
What I want to know is - can I somehow fetch all the data I see on my accounts news feed?
Im not asking how to do it, just is it possible.
I was doing some research, and on facebook.developers they do mention about nodes, which can be users or groups, but it is unclear to me are those groups that I made, so when I login to my mobile app i Actually login with that group account, or they meant that I can get data or other groups out there ?!
Facebook has documentation using FQL queries to GET the users news feed, take a look here
https://developers.facebook.com/docs/reference/fql
What you are looking for is called stream...
Related
One of my apps demands to fetch users posts from Instagram as well as posts related to a particular hashtag, my question is how to access the Instagram graph APIs without even an app review and also what product of Facebook I would require to achieve this. thanks in advance for the help.
In swift 4 I am sharing a post to my Facebook feed using the Open Graph API. This successfully posts to my feed, but other users in my friends list can't see the share post, only I can - even though the post is set to public.
Is there anything else I need to do for other users to see the post?
Is it still in sandbox mode? You need to set the Facebook app live, then other users will be able to see the share.
I have IOS app for that login is through Facebook, For some feature I need full list of friends.
With current version of Graph API calling "me/friends" only returns person's friends who also use the app.
So now getting full friends list not at all possible or is there any way to get full list.
Also I need to invite my friends to use the app.
Note: App is not a Game app.
Thanks in Advance.
Despite what the earlier comments on this question might tell you, this is 100% possible with the me/taggable friends endpoint in Graph v2.0.
However there are three things worth noting:
Facebook is strict on the usage of this endpoint, so you'll need to get your use of it approved by the review team.
Taggable friends can only be used in the context of "friends you're about to tag on Facebook.com". This endpoint cannot be used for any other purpose.
When you query me/taggable_friends, the id returned for each user is NOT their Facebook id. It is a short-lived token that can be passed via the API to instruct Facebook to tag that user.
I want to get list of my friends from Facebook who are not users of my app, and be able to invite them.
Using FBWebDialogs I can pick users, but I'm wondering how foursquare did it?
Screenshot:
There is option of frictionless requests.
On Facebook developer site they mentioned in section of Invites and Requests
We touched on a scenario where users exchange requests back and forth. If this scenario is typical in your game, it can be a bad user experience to force them through the request dialog every time they want to send a request. The solution for this is frictionless requests.
Frictionless requests let users send requests to friends from an app without having to click on a pop-up confirmation dialog. When sending a request to a friend, a user can authorize the app to send subsequent requests to the same friend without another dialog. This streamlines the process of sharing with friends.
For more reference see Facebook Invites and Requests
You are asking two questions here:
How to invite Facebook friends without web dialogs?
Unfortunately, the web dialogs you are referring to are the best way to send invites to friends. There was a time when we had to resort to ugly hacks just to get this functionality in applications. Facebook added this functionality to iOS SDK after developers created bug reports and were literally behind them.
Get a list of friends who are not using the app and invite them
Foursquare IMO is not using the requests API. What they do is, whenever somebody links their Facebook account to their Foursquare account they make a note of the users friends who are using/not using the app. This is possible if the user grants the app permissions.
Then in the invite screen, they simply build a UITableView with list of friends who they think are not using the app. When you tap Invite they will just send an email invitation and not the Facebook request you are referring to.
I think FourSquare syncing the user's friend list(friend ids) to its own server.. Then after they are checking it to create the custom interface like the screen shot you shared.
Maybe I didn't get the question right, but from what I know after you tap the invite button on Foursquare the Facebook invite dialog (apprequest) will pop up.
In general this dialog will let you select friends if you didn't specify any friends ids before presenting it, or show you the selected friends like in Foursquare example.
There is an API to get your FB friends, so it's possible for your server to check witch of then already has the app...
I've been researching this for a while and the main solution I have found is frictionless requests, as Rahul Patel noted. You can do a direct request to the graph API and see who has your app installed.
From there you could fairly easily implement any sort of filtering. For example, using the Friend Picker UI Control and implementing the method friendPickerViewController:shouldIncludeUser: and checking against a list of facebook ids who are not on the app that you cache somewhere else in your application and actively update it (for example in a simple core data model that is updated when appDidFinishLaunching), returning no if the user is not displayed. This would only allow users to select individuals who are not on the app, and then you could send a request to them under the hood with frictionless requests.
I do think that it is not a great idea to spam people, however, without at least allowing them to check the names of their friends, or see who they are.
I'm a RoR newbie, building an app that allows users to register/link their FB and/or GMail accounts.
For example, User1 registers/links using their FB and Gmail accounts. Once registered, User1 recommends Sushi as their favorite meal.
User2 registers with their FB account, and happens to also be a friend (via FB) of User1. User2 then wants to see what the favorite meals are of people that are registered within the application, and only those they are connected to within FB.
User3 registers with their Gmail account, and happens to be in the contact list of User1. User3 then wants to see what the favorite meals are of people that are registered within the application, and only those they are connected to within Gmail contacts.
In reading the FB/Google API docs, I see that I can query for user's friends and/or contacts, but from a programmatic/performance perspective I'm having trouble wrapping my head around how to accomplish this, especially as the number of users grows. I don't want to store each and every relationship in my DB, so I'm looking for any advice/examples on how to accomplish this.
Thanks for your time and assistance.
that shouldn´t be a problem.
Once your users are registered with your App. You can use for example Facebook FQL API to check which of the FB users friends are registered with your App.
Spotify doesn´t update your friendslist often. You can cache his/her friendslist once a while if you have performance problems inside a NOSQL database since you are already getting JSON from Facebook API.