In my web project, user will login using Facebook, Using my FB app I want to access users joined groups list. I want to show that list to the user. User will select the desired group from that list and submit it back in the website.
Accessing user group will require a facebook permission and review. I submit my app and I got this response- user_groups
General
The user_groups permission is only approved for apps that let people use Facebook on platforms or devices that don’t have a Facebook app. If you're building an app on Android, iOS, Web or Desktop, for example, you won't be approved for this permission.
I am not able to understand the meaning of it. Does anyone face the same issue?
Related
So I am using react-native-fbsdk in my app. I want my app to have functionality to invite user facebook friends to use my app. That functionality will be in card that show user friends profile picture and name, and a button that can be used to invite that friend. My app is not a game.
My first question is how can I get all user friends that not using my app and using react-native-fbsdk for invitation?
So far I know that facebook has two API to do this taggable_friends and invitable_friends.
taggable_friends is used when user need to do post and tag his friend (I think this not what I looking for, cause all I want is user press the button and the invitation will imediately send to his friend)
invitable_friends is use for game, but for non game app, I can use message dialog
https://developers.facebook.com/docs/apps/faq/
For apps which are not games, or for apps without a Canvas presence,
use our other products such as the Message Dialog on iOS and Android,
Send Dialog for the Web or the Share Dialog on iOS, Android, Web.
These products let a person easily select the friends they want to
message or share with.
So the second question is how I can use this message dialog inside my react-native app?
note: react-native-fbsdk has FBAppInviteDialog, is it relevant to this question?
I am developing an app that would allow users to invite his friends to an event.
What I want to achieve is that when the host is inviting friends, he can invite those that are not on the app through a button. This would send a message to those invited friends that includes a link to install our app. Once they install the app, they can login and will immediately view events he is invited to. Can this be done?
The concern is that when the user who receives the invitation message and installs the app and logs on, how will the app know the person who logged in is the person that is invited in the first place? If the app cannot associate them, how can we provide the relevant events to him once he has logged in? Is what I want to achieve unattainable?
I think it might be done through the old Facebook API, but their new one will only allow an app to access a user's friends who are also on the app and not those that are not on the app. In this case, is there a way for us to pull the UID of those invited through FB's messaging dialog? And will this work with group chat?
I know that another way will be to do it via phone number confirmation and accessing the user's contacts, but I want the invitation process to be through facebook if that is possible.
Thank you all for your help in advance.
Lok
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.
How can I allow multiple users to log in via facebook SDK?
It seems that the sdk is using the local native facebook app, so the user currently logged in is who gets authorised, but I want to be able to authorise others.
Is there anyway to force it go through the web dialog view where maybe a user can log in?
I ask this as some users of my app will have a personal and work account and want to be able to access both.
Any help would be great
Checkout the SwitchUserSample that ships with the SDK.
My app has an instant messaging feature. So it has a contact list.. I want to populate the contact list to help get my user started with some friends..
After asking permission I will:
1) Search the local contact database, send the phone numbers to my server and check for other accounts using my application that have the same phone number.
2) Ask them if they want to also import their facebook friends. At which point I suppose I will ask them for their username and password for facebook, log in to the Graph API and request their list of friends..
My question is, once I am iterating the list of friends from my user's facebook friends list, how can I link their facebook friend ID (or whatever identifier Facebook gives me) to some other ID in my app?
Will I see the email of all my friends users (after research, it looks like not)? Will I just get a numeric Facebook ID? If so, then how am I to harvest facebook IDs from all my users that have linked their account to facebook in my app?
I suspect this feature has been implement by other third party developers. So I'm looking for the strategy to identify and link my app users, to facebook accounts, and then iterate my app users friends list to find common users.
The question I am answering from a user perspective "Which of my facebook friends are already using this app, named XYZ on android"
You can store a user's Facebook ID alongside their other user information for your app, then match on the retrieved IDs from a Graph API /friends call. This way, you'll be able to see which friends have also linked the app to their Facebook account. You won't be able to fetch email addresses for a user's friends using the API.