mobile: get facebook users around in a certain location - facebook

I'm new to developing mobile apps, and I'd like some help. I'm trying to create an app that, upon downloading and opening it, tells you nearby Facebook users. Will this have anything to do with the Facebook API? What is the easiest way to do this? Any examples or references would also help a lot.

as far as i know Facebook not have an option to get the friends by coordinate or something like that,
what you can do is create a database that stores your app users location and when a user logs in to your app you show him results by this database.
Hope it Helps.

Related

How can I get the list of facebook apps for a certain user using Graph API Explorer or another tool

I want to build an data tool for facebook apps and I've searched for a few hours online to see if there is a way to find the app list for a specific user. Couldn't find anything. Does anyone know how to do this.
PS: I have taken a look at: Is there a Facebook API call to list all apps? but it did not help me
Any help is appreciated.
Thanks!
I am not sure if this is what you want, but it looks like it: https://developers.facebook.com/docs/graph-api/reference/user/applications/developer
The user docs say that this is the endpoint for "The Facebook apps that this person is a developer of."

Facebook: detecting user apps

Hello I've read the docs and am having trouble getting a definitive answer for the following questions:
Can our app detect if another app is used by a given user. What about if we are admin of, or have the id of both apps.
If one of the apps is removed from FB is there a way to tell if a user had it installed before it was removed? A sort of history of past apps, I guess.
Here:
FB Connect: is there a way to see the logged in user's facebook apps?
Best answer is "I think the most you can do..." but I'd like to know for sure.
Thanks for any help.
If you request the permission user_actions:APP_NAMESPACE you can see the open graph actions that the user has performed in that app.
http://developers.facebook.com/docs/authentication/permissions/#open_graph_perms
In my apps I generally store the user ID of all authorized users in a database, and when I get a call via the "Deauthorize Callback URL" I don't delete the user from the database, but instead only flag the user as deauthorized.
This way I can easily get an overview of users that are using (or have used) any of my apps. This allows me to present special features for users who are using several of my apps.
For example, let's say I made a photo app (like Instagram) and a GPS running app (like Endomondo). If the user takes a photo with Instagram while running with Endomondo, I could present the option to GPS-tag the photo, or add the photo to Endomondo.
This is something that I think we developers should use more. Perhaps present an open API to other apps, to let the apps work together.

Store data of people who clicked on a button on Facebook

I would really appreciate some help with the Facebook application I currently work on.
I developing a simple Facebook application, and I need to store the data of the people, who click the "I want to win button". I'm not sure if I should use plain, old vanilla PHP, or if the Facebook API provides some simple way to do that, so I would be really glad for some ideas about this.
I read about the topic, but I can't really "see the Matrix" yet, so every answer is appriciated. Also I'm more interested in ideas and not the implementation, as I'm fairly confident in my programming skills.
Thank you everybody!
Richard
You will definitely need to use an external db, coz facebook will not store the data for you. However facebook does store the connection that a user makes with the app, i.e. when a user gives some(even basic) permissions to your app. Hence when an old user comes to your app you can know which, and if it is an old user.
Facebook sends your entry script a signed_request, which contains data about the user visiting your app, this request will have a user_id field only if the user has made the connection/authorized your app, hence you know if it's an old user or new.
Once you have the user_id you can call the graph api to get info about the user. In the php SDK you can easily call $facebookObject->api('/me','GET'); to get user info.
You can easily call the functions anytime, so if you want to make a call when a user clicks your button, you can do that.
Check out the links i have included, thoroughly, you'll get the idea.

how can I see a list of everyone who is using my iPhone app?

I incorporated the new facebook sdk into my iPhone/iPad app update which just went live yesterday. Per iTunes connect 1100 people have already updated. My insights on FB are behind which I understand. However, when I go to my app's FB page it shows some of my friends using my app (not "liking" it, but using it). How can I get a list of ALL my friends using it, and of EVERYONE using it?
Thanks!
There is no way to get a full listing of your app's users - you'd need to store this in your own database. You can check if any particular user has authorised your app with a call to /[UID]?fields=installed in the Graph API using your app's access token or a user access token
As far as I know, you can't (for privacy reasons, I'm sure).
I have seen people trying, though: How to get all the user IDs of people who are using your Facebook application

how do use the facebook connect api's with the iphone?

I am currently developing an iphone application which is nearing completion but i want to add in the functionality to be able to connect with facebook. I can grasp the basic functionality of this such as connecting and posting status updates and feeds but id like to be able to interact with friends and events within facebook, much like the flixster movies app where you can view friends ratings etc... Can anyone please point me in the right direction? I am fairly new to this all so i need as much help as possible please.
Thanks
James
Take a look at http://github.com/facebook/facebook-iphone-sdk/
Download this project - it has a facebook connect iphone sdk as well as some example code to walk you through.
Next take a look at developer.facebook.com and go through the apis. You will find apis here to do what you want to do using your iphone app.