I am planning to create a facebook app where a user invites his/her facebook friends using fb API and when that friend/s responds to the invitation and lands on the app, i want to track who of my fb friend referred me to this app. In short, I wanted to ask if is it possible on facebook that we can track the user who invites friend/s to an app?
The only solution I found was to keep track of which friends a user invites using the Multi-friend selector
Prevent other users from inviting the same friend for 7 days.
If the friend signs up, attribute it to the last user that sent him/her an invite.
The problem with this is that it is not 100% accurate. I too am looking for a better solution.
Related
I implemented a custom friends selector to send app invite requests for my website to a user's FB friends. But that show no of limitations, first that invitation may be sent to at max 50 people. I have seen games on FB sending app invite requests to user's all friends, wont that same kind of invite work for my website ?
Secondly Using the requests dialog with friend selector, there is no way to select all friends for invite. How could I make it better towards sending app invites to user's all friends ?
At some places in the FB devlopers docs, they mention explicity games & apps on facebook. If I am a website with a FB canvas page as well. Can I use the services availble for games on facebook? (Is it Legal ?)
App requests are for games, not for sharing a website.
The only serious (and not spammy) way to share a website on Facebook is to use the Send or Share Dialogs:
https://developers.facebook.com/docs/sharing/reference/send-dialog
https://developers.facebook.com/docs/web/share
You may want to read this too: https://developers.facebook.com/docs/apps/faq#invite_to_app
How to use Facebook API to send invitations to friends to ask for a specific fanpage like.
And the other question.
How then show a list of users who have sent an invitation with an indication of how many people liked the profile. In this way, users will take a ranking of who sent the most invitations
How to use Facebook API to send invitations to friends to ask for a specific fanpage like.
You may use the Notification API, with a message and the link to page. Or, using the Feed dialog by posting on wall to each of the app user. (I prefer the first one)
How then show a list of users who have sent an invitation with an indication of how many people liked the profile. In this way, users will take a ranking of who sent the most invitations
The invitations will be sent to all the friends I guess. If not, then you have to keep the record of the invitations sent, manually.
I am making a site , where some guy who has a facebook account can invite his friends.
The problem is that the standards facebook API provides a popup for such case , where a user who wants to invite his friends has to manually click each friend he wants to invite , after that click enter.
How can I mass send messages/notifications on facebooks to those said friends of my customer ?
Same question about sneding emails , although I doubt one can ever get the frineds emails form facebook.
Please give me advice. At least tell me how to automate the "select all the friends from the popup" process.
It's not possible. You have to use the Requests Dialog. It's a security measure which ensures that apps cannot send invitations to a user's friends without approval from the user.
How do you allow your Facebook Connected users to invite their Facebook friends to your website?
All previous answers on SO are outdated referencing that it was previously possible with fb:multi-friend-selector, but since FBML will soon be deprecated, its not an option worth entertaining.
The only option I see now is to create a canvas app that redirects to my website but I would assume this is not permissible since only Canvas or Mobile apps can use the Requests dialog. I could build my own modal by getting the users friends and then sending them a message directly--also probably not permissible.
Nikolay did a fair assessment here, but was not provided a solid answer. Is Facebook locking down multiple friend invites and leaving only newsfeed posts and likes to webpages?
I use Social button like recommend and implement it with my site. ref to https://developers.facebook.com/docs/plugins/
So, we looked and it appears you cannot use the Invite Friends modal unless you are a mobile or Facebook canvas app.
We did, however, come up with a solution. Using the Open Graph API (see Publishing) and the publish_stream extended permission, you can post directly to a user's friend's wall. It cannot be a private message (publish_stream does not allow you to change the privacy of the message) but it does allow user's friend to get a notification of the post.
You can see it working in some of our developer's games on www.pokki.com that are supporting our Pokki Games API. We came up with a nice modal that shows the user what the message they'll be posting looks like. This puts the user in control so they can click on their friend in a list of all their FB friends and makes the message more genuine (rather than automatically spamming all their friends with disingenuous messages).
On sign-up (i.e. when accessing the app), we need to get user's permission to invite their friends to use the app. When a user has finished using the app and the picture displays on their wall, we need to share the post with all of their friends automatically
Can this be done in FB application running from iframe? What would be the easiest approach to do this.
You can't automatically send out invites. You can present the user with a form to pick friends to invite, but your app can't do it on their behalf.