I am using Facebook as signup option for my android app. I need to know what permission should i ask to get access to user's friends profile info, work history and education history, relationship status. I am using user_friends to get it but its not working. I am using this another app that uses Facebook signup and when i look at App Settings in my facebook account then following are the permissions.
Your basic info.
Your email address (**).
Your groups.
Your location.
Friends' profile info: birthdays, education histories, groups, interests, locations, relationship statuses, websites and work histories(I want this permission for my app).
Please help me guys :)
Thanks a lot
If you created your app after 4/30/2014, you're using Graph API 2.0, and all friend_* permissions have been removed.
The only way to get a friend's info is if that friend also uses your app, in which case you can ask them for permissions directly and get the info you need.
If you have created your app before 4/30/2014 then you can use the following permissions.
"friends_interests","friends_birthday","friends_about_me","friends_education_history","friends_work_history"
Related
I submitted my app for facebook review (publish_actions) and they come back to me with the following:
"Your app is using the Share plugin to share content to Facebook, so you don't need to submit for review. Publish_actions is only for posting through the Graph API. See our sharing docs for more info on plugins."
And they direct me to this page:
Android Sharing
However in that page it does not really tell me what permission I need to add in order for the app review process to be successful. At the moment my app just has the default permissions: email, public_profile and user_friends.
I am not sure what they really mean by "so you don't need to submit for review" Don't all the apps need to be reviewed? But to be reviewed, I need to add a permission and I do not know which one???? At the moment with the administrator login I can share a post fine but it does not work for any other user.
Please advise.
Thanks
Is it possible to start an intent from my android app to select a friend from Facebook messenger and get the conversation history with him? If yes how such intent should look like? Or do I have to use Facebook SDK for that?
This is not possible for several reasons:
First of all, you would need to select friends by using /me/friends, but you don´t get a list of ALL friends. Since v2.0 of the Graph API, you only get friends who authorized your App too.
You would need to get the read_mailbox permission approved by Facebook. But that permission will not get approved for Android Apps.
If that would be possible, an App would be able to get access to the messages of the friends of the authorized user. Which would obviously be a pretty heavy privacy issue. Just so you understand what this is not possible at all.
I am developing an app and there is login using Facebook account's credential. The application need user's friend list as I have custom selector to invite friends. Then I read documentation of Facebook they clearly says that you have to submit your app for review process, so which permission should be submit for approval either user_friends or read_friendlists(I saw in submission form).
https://developers.facebook.com/docs/apps/faq#invite_to_app
You can´t get all friends anymore with /me/friends, but if your App is a game on Facebook Canvas, you can use /me/invitable_friends.
Btw, you don´t need extra approval for user_friends, and read_friendlists is only for getting the lists - without any friends. It is definitely not what you want. And you only need to submit your App for review if you want to request additional permissions or if you want your game to show up in the App Center on Facebook.
is there any way to fetch list of friends using facebook 2.0 API?
I was reading this upgrade from the API and it seems it is quite difficult to fetch the friends now,
but I have seen 2 permissions
read_friendlist
user_friends
Is their any way to fetch list of friends? and what about the widgets that get friends from facebook, will they go down?
In v2.0 of the Graph API /me/friends returns the user's friends who also use the app. You need to be granted the user_friends permission in order to get even app-using friends.
There is no way in v2.0 to get the full user's friends.
However, you may use the https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends API or the https://developers.facebook.com/docs/graph-api/reference/v2.0/user/taggable_friends APIs to get all the user's friends with tokens than can be used for tagging and inviting.
the read_friendlist perm doesn't get you a list of the user's friends, it gets you the list of a user's friendlists which may be used to build a custom privacy selector when publishing stories to Facebook.
As of 4/30/2014, you can only retrieve the friends who also use the app.
There are, however, specific methods for apps in the 'Game' category for inviting friends.
https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends/
I'm working on LinkedIn ingratiation in my Android app, and I've completed this using simple Webview which will ask for Email and password every time,
what i want to do is getting the Login credential from LinkedIn app (if already installed in device), as in Facebook.
But i'm not able to find any tutorial about it.
Plz help me out.
Thanks
You can not and should not. On Android all apps have a private area to store their data. Unless you have root you can't read another app's data (unless the info is saved to public storage which in this case it is not).
What you should be doing is getting your own authorization by asking the user directly for details and permission and using that. I believe LinkedIn uses OAuth2.0 so look into logging in using that.
You can refer this link:
https://www.studytutorial.in/linkedin-integration-and-login-in-android-tutorial
And also if you are integrating LinkedIn Login in your application, you might face a difficulty that user must have to installed LinkedIn App in his/her mobile. As per the documentaion,
https://developer.linkedin.com/docs/android-sdk
For your reference