Get my facebook friends visited places in iOS App - ios

I've implemented login using Facebook account in iOS app developing using Swift. Now want to get list of all places visited by my facebook friends.
Referred this document but could not found search visited places API:
https://developers.facebook.com/docs/places/web/search/
Is it possible?
Appreciate your help and suggestions!
Thanks.

Accessing data of friends (or any user) is not possible, unless they specifically authorized your App with the neccessary permissions.

Related

Does google return list of friends who are already using my app like facebook?

In my app sign up is possible from both Facebook and Google. And there is a requirement for accessing friends list/contacts to check who are all my friends that are already using the app. Now, Facebook already returns the response as a list of friends who are using the app that I integrated the FB SDK in.
I want to know is there any way to get list of contacts that are already in my app using Google APIs? Or I have to fetch emails of my contacts from Google and manually check in my DB if they exist or not and decide on my on?
Thanks in advance.
Cheers,
Rahul
I am the product manager for Google Sign-In. This is no way to get a list of users who already using a service ... you would have to request access to and fetch a full list of a user's contacts and check for existing users in your own database.

How to get user's location in iOS using google plus sdk?

I am integrating Google Plus login in my app along with Facebook and Twitter login. So, is it possible to get user's location(city) Like Facebook and Twitter? If yes, how?
Any kind of help would be appreciated.
There is a field in the Google+ profile for "places lived" that may contain a location. However, it is not very common for people to share that publicly, so you will likely find only a small proportion of users have it available.
If you want to try, you can retrieve the profile data by following this documentation: https://developers.google.com/+/mobile/ios/people#retrieve_profile_information - this returns GTLPlusPerson for the current user.
From that, look at the placesLived property: https://code.google.com/p/google-api-objectivec-client/source/browse/trunk/Source/Services/Plus/Generated/GTLPlusPerson.h?r=246#128

App requests in Facebook without re-logging and use session in Social Framework

I've successfully connected in Facebook using Social Framework, also able to get list of my friends. However, I need to invite friend to use my app, I have been reading some articles and stackoverflow, that this need to use Facebook SDK.
Now, I able to achieve this using Facebook SDK. but then I need to re-logging (show pop up or direct to FB app). What I want is, to use session or outhToken that I have while I connected using Social Framework and use it in Facebook SDK. what I know, I have outhToken already. how to use this maybe to pass in FBSession or whatever class object to show app request ?
below is sample of app request.
For those who stumbled this question,
Facebook now remove graph API to grab friends that doesn't install the app. hence we cannot invite friends who doesn't install app.
even using Facebook SDK. if anyone has better solution or any updates on this, please share.

Get facebook friends that also use spotify

I'm building an iOS app using the Spotify API that requires communication with my Spotify friends. I've come to realize that it's really facebook friends that also use Spotify and that to do that, you need to authenticate with facebook in order to get any sort of info like that. So the next few things I'm trying to figure out, but am getting stuck with are:
With the Spotify SDK, is there a way to tell if it's connected with your facebook account (since it's not required). And if so, do you have to do a separate authentication? I'm guessing yes.
With the facebook open graph api, is there a way to get a list of your friends that also use Spotify. I know that you can get friends using that have authenticated your app, but haven't found a way to find out about others. Not sure if it's possible.
Based on what I've read here that what I'm trying to do isn't going to be possible. Or if it is a huge pain. Anyone have any thoughts?
Nope. However, with CocoaLibSpotify, if the user logs in with an email address you can be sure it's a Facebook account since vanilla Spotify usernames aren't email addresses.
Nope. You could look at each friend's public listens using the Facebook API, though, but that isn't ideal.

Facebook. How to get list of all users of my app?

I've been googling before asking but all in vain unfortunately. Is the only possibility to have all facebook users of my app is maintaining my own database or maybe there's a simpler way provided by any Facebook API? Can anyone help me out? How do i do that?
Facebook doesn't provide a way to retrieve users who have your application installed. And you should store that information on your end to be able to track this.
You can only retrieve count of users who use your application from Application Insights (see answer to similar question: How do I get all the users that have authorized my Facebook app?)

Resources