Get user installed apps and each app ratings - facebook

I have created a new facebook application.I am trying using Graph api 2.2, once user installs my app to get his already installed apps and each installed app ratings.
While reading documentation i see such action in not possible. I was wondering if there is another way (not using Graph api) to get applications. Also i cannot understand why facebook is not allowing (once your app is granted) to read installed apps but is allowing to read inbox,friends,personal which is supposed to be confidential data!
Thank you
Stefanos

There is no way to get the installed Apps of a user, with or without the Graph API. Everything that may be possible somehow without the the Graph API would not be allowed, because that would be scraping: https://www.facebook.com/apps/site_scraping_tos_terms.php
You need to think as a user, not as a developer. I would not want any App to know which other Apps i am using. There is no serious way how an App would deal with that information anyway.
Also, the permission to get access to the inbox will not get approved in most cases, and you can only get the friends who authorized the same App too.

Related

Do I need to submit for facebook app review

My app needs to post as a user or one their pages. So to my understanding I need these scopes "publish_actions manage_pages publish_pages". It would seem that I need to submit for review to get them. Is it absolutely necessary that I do this or is there some exception to the rule. For example, using an older version of the graph api API, a specfifc SDK (php etc), older version of Oauth, wordpress plugin etc. Just want to make sure I need to before making the effort to go through that process.
Everything you need to know about Login Review can be found in the docs: https://developers.facebook.com/docs/facebook-login/review
Downgrading to an older API version is not possible, the lowest API version is the latest one by the time you created the App. You canĀ“t avoid Login Review by using another API version or SDK, but permissions work without review for everything with a role in the App.
If you want to create an app just for yourself, there is no need for Login Review. If you want to go public with your App, you have to go through Login Review.

Is there anyway to get approved for user_groups for an internal use only app?

I am really confused on why FB will not approve anything that tries to use the user_groups permissions. I have a simple web app that pulls data from the groups that the person using the app is in. Its something that we are only using internally in our office and do not plan on releasing it to the public at all.
I did it using the new API - and there seems to be no way to get it approved. Is there anyway to allow specific people to use my app - even though its not approved? Or am i forced to re-write it using the old API calls w/ out a review? (obvious downside is it will only run until April 2015).
I do have an old app id I can use to get around the app before a certain date have to use the new api feature.
Any help or suggestions would be appreciated!
You can add all the people in your office that should use this app as 'Testers', using the App Dashboard. That way you can keep your app in Development Mode, so you don't need review.
If you have a lot of people in your office, this might get complicated. But, the user_groups permission is only for apps building a Facebook Experience on a platform for which Facebook is not yet available. So, really hard to get.

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.

How to share from iphone app to any windows phone 7 app?

Let's say I have app on iPhone and Windows Phone 7. How to share (ex. Note) between my both apps, regardless any platform.
Update
Guess this question is very broad, my bad.
Be more specific, I want the user to go through his contact list and share through my app. How do I identify if the other user installed my app? and what platform he/she using?
Using the contact list isn't a good way to "share" in this regard.
You're asking two questions here:
How to build a system to share data between two mobile clients, irrespective of platform?
How to best enable users to find their friends to share data?
Let's start with the 2nd question.
I would leverage services like Twitter and Facebook and have your app connect with your users facebook account. This is a well known approach, and avoids having to roll your own account system.
With facebook as an example:
Facebook connect, you can get the facebookID of your user, as well as their friends facebookID. You'll need a backend webservice which you can query users by fbID.
When a user opts to use their facebook account, store their FacebookID on your backend service. Then using facebook's api's get a list of their friends facebookID's. Your app will lookup each ID using your backend service, and if it finds one, then you know that friend has also installed the app, and connected it to facebook.
So if Alice installed your app, connects to facebook, and she is friends with Bob, who also has installed your app, your back end service would return that Bob's facebookID is known to your app, and thus the two of them can share to each other using some protocol that you design.
If their friend's ID isn't known to your system, I would send them a facebook message, or post on thier wall with a restful link that invites them to check out the note you want to share on the web, and place the link to the app on the same page.
Due to the high level of your question, this answer is a bit of a 20,000ft view, and assumes you know how to build a web service.
If you want to see a great example of an app that makes use Facebook and or Twitter to find friends who also use the same app, I recommend checking out Groupme. It's free, and available for WP7, iPhone, and Android. It's a group SMS app, and uses your contact list, facebook, and twitter, to setup friends.
For the first question, you'll need to make use of a backend webservice. User would elect to share either in-app, or by posting to their facebook, with a weblink. In-app sharing, I would use an inbox approach. A user posts a message to their friend, and it gets stored in a queue. The app periodically checks the users queue to see if any new "shares" have been posted. If so, get that data, and present it to the user. Your back end service should also take advantage of newer app concepts like push notifications, because thats what users expect.
I would suggest using a web service such as Parse. This will allow you to focus on your app development and not worry about server coding.
Currently they do not have a Windows Phone 7 SDK but it is just a matter of making the REST requests manually to the service.

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