I couldn't find any answer to my question:
On my facebook iOS app, if the user invites his friends (via the method: apprequests thing), is it possible for me to know whether/how many friends answered "OK" to this invitation ?
Related
I would like to add a function to let the possibility to users to invite their Facebook friends.
My problem is that there is no documentation (https://developers.facebook.com/docs/app-invites/ios)
The website is down and I don't have any information. Is it still possible to do that in an app?
According to latest Facebook SDK (V 2.0+), "This will only return any friends who have used (via Facebook Login) the app making the request." But my requirement is sending private message to my facebook friends to let them know that I am using this particular app. Is there any way to achieve this feature. Any help is appreciated.
Since Graph API v2.0, /me/friends returns a person's friends who also use the app.
You can use /me/invitable_friends. But /me/invitable_friends only available to apps classified as Games
more info : https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends
This article explains exactly how to invite friends (in a Game or App): https://developers.facebook.com/docs/apps/faq#invite_to_app
Games on Facebook Canvas (apps.facebook.com/yournamespace): Invite Dialog and invitable_friends
Any other App: Message and Send Dialogs (depending on platform)
In your case (iOS platform), you can only use the Message Dialog.
I am creating an iOS app where the user can invite their friends to use the app using Facebook SDK [FBWebDialogs presentRequestsDialogModallyWithSession:message:title:parameters:handler: method. However, I don't want to show the users that already have the app. I know how to check if a user is an app user or not (using the Graph API, checking the is_app_user field), but how can I make the request dialog to exclude the users that are already users of my app to avoid confusion to the user? Is there any way to achieve this other than the method described here: https://stackoverflow.com/a/18583650/811405?
I am using Facebook SDK to connect Facebook in my app. User will logged in once and will make invitation about MyApp to their friends. I am successful to get ids and name of all Facebook friends. But I couldn't access to email id of Facebook friends. Is there anyway to get access to Facebook friends email ids? So that I can send them a invitation email.
Is there any other ways, that I can accomplish invitation function in application.
I hourly searched on google and so but no results points me to the solution.
Edit:
I've already accepted an answer, that says, there's no ways to get access to friends email id's. So I am looking for some other solution. There should be some solution exist.
Thanks!
There is no way you can get all the email ids of your Facebook friends. But if you have any concept like "Buddies" or "Friends" in your app, you can send request to the mail ids of registered users of your app who is already your Facebook friend. This is how many social network apps like Instagram do.
'Find Friends via Facebook' functionality in Instagram lists out the user's Facebook friends who are already on Instagram.
Eg: A and B are 2 users who are registered on Instagram. A and B are Facebook friends. But A & B are not buddies on Instagram.
While availing 'Find Friends via Facebook' facility, Instagram fetches user's Facebook-email-ID, Facebook-ID etc. Facebook provides API in such a way that user can list out his friends ID. Now, match-making is made to check if any of friend's Facebook-ID is already registered with Instagram. Thus it lists out all the facebook friends of users who are already registered with Instagram so that user can add him/her to the user's buddy-list.
Perhaps this is what you are looking for?
http://developers.facebook.com/docs/tutorials/ios-sdk-games/requests/
You can't. Unless they make their emails public
https://developers.facebook.com/docs/reference/api/user/
I've been searching this question, and I haven't been able to find anything that works. I have an iPhone app that allows users to link their Facebook account. It would look something like this:
Once a user has successfully linked to FB, I want to present them with a list of their FB friends and an option to invite selected friends.
FB Friend 1........... Invite
FB Friend 2........... Invite
...
FB Friend 1000..... Invite
Basically, I want to send a message to FB friends that says something like "Check out this app". I'm pretty sure this has to go to either their notifications or wall and cannot go as a FB message, but I can't figure out how to do it.
Also, I don't need to select a group of friends to invite -- this can be done one at a time. So it would look like this:
FB Friend 1........... invited
FB Friend 2........... Invite
...
FB Friend 1000..... Invite
Thanks so much for any help you can provide.
Unfortunately there isn't anything in the iOS SDK that presents the apprequests dialog, and a user has to have installed/approved your application before you can send them application notifications via a POST request...
Requests are a great way to enable users to invite their friends,
accept a gift or help them complete a mission in your app. There are
now two types of requests that can be sent from an app:
User-generated requests: These requests are confirmed by a user’s
explicit action on a request dialog. These requests update the
bookmark count for the recipient. You send requests by using the
recently launched Request Dialog.
App-generated requests: These
requests can be initiated and sent only to users who have authorized
your app. Developers can send these requests using the Graph API. Use
these requests to update the bookmark count to encourage a user to
re-engage in the app (e.g., your friend finished her move in a game
and it’s now your turn).
The only way to get this is via Facebook's Requests 2.0 dialog (which is not currently available to the Facebook iOS SDK):
http://developers.facebook.com/blog/post/453
See more here in this related question...
Sending application requests that appear in the left column on Facebook home page?