Facebook - Refer a friend functionality - facebook

I need to create some functionality on a clients website which lists the users friends and allows them to send a link to their inbox.
So far, I have it listing the users friends using fb.api functionality, but from what I can see, there is no way to send the users friend a message (not post to their wall, this needs to go into their inbox.)
edit: The user would log in first.
Does anyone know if this is possible? I've tried looking at fb.ui but I can't seem to find anything useful.

I think this is (or should be) impossible. I wouldn't like it at all if a third party could send me messages because one of my friends allowed it. I guess that would be my last day on Facebook.

I would suggest you look into the fbml fb:request-form doc's. It looks to me like this is what MGM is using. This allows a user to invite friends, and I think it's as close as you can get to what you are truly after.
http://developers.facebook.com/docs/reference/fbml/request-form

Related

What's the best way to get Facebook friends using Graph API today?

I want to make an "invite friends" screen on my app. I already searched for Send Dialog, Invitable Friends (which apparently doesn't work for me) and Taggable Friends. Nothing work very well.
I just want a good way to send some kind of notification to my friends who doesn't use my app yet.
Is there any way?
Also, how Kiwi made it?
Everything you need to know about inviting friends to your App can be found here: https://developers.facebook.com/docs/apps/faq#friend_invite

Pinterest invite Facebook friends functionality is impossible?

If you connect to Pinterest with Facebook, it has multiple dialogs that show your complete list of friends (including those not using Pinterest) asking you to invite them. One is on the front page, and there is another at http://www.pinterest.com/find_friends/
This type of menu is only supposed to be possible for games that use Canvas by using the taggable_friends API, not for a website.
I see multiple questions here asking about how to do exactly what Pinterest is doing, but the response always seems to be it is impossible, the only supported way is to use the Send dialog (for a website not an app/game anyway).
It seems like they got some special permissions before from this thread: https://developers.facebook.com/bugs/146850488822600
Is their current build just another special permissions thing? I haven't been able to find anything stating that they have special permission, and it would be nice to confirm that considering it's not very convincing to say it's impossible when there's a high profile example of it.
I don't want the list to spam their friends, I still want to go through the Send dialog but it would nice to show a list of people that they can invite in a format that is shared with other social sites we have integration with.

How to create a Facebook "challenge a friend" event?

We have an application that lets users challenge their friends in various challenges. Right now we issue the challenge by posting a message to their friends wall. This functionality will be removed in february so we need to find another way of issuing the challenge. What are the alternatives available?
We want the friend to get notified that the challenge has taken place and that some kind of story is generated on some wall.
We have looked at open graph actions and the mention tagging there must be done by the user herself so we can't use that to mention the selected friend. And we cant use action tagging since this is not an event that has or is happening.
It might be possible to use an open graph action referencing the built in "Profile (External)" object, but that seems to be rather messy - we just want to reference the facebook user. And we don't know if the friend would get notified of this - probably not.
The story could be published to the users own wall, but we really want the friend to be mentioned and notified.
It seems to be a rather standard use case for applications - does facebook provide this functionality anymore?
Edit: I'm thinking that maybe invoking the javascript feed dialog with a from and to setting might work. Then the user can also write a personal message for the challenge, and it should show up at both walls?
The best way to do this is by using a request: https://developers.facebook.com/docs/requests/
Of course it will not be public then, but after all it´s a direct action between the user and his friend and other users might see this as spam.
The other way (and the second best, i guess) is to use mention tagging:
https://developers.facebook.com/docs/technical-guides/opengraph/mention-tagging/
You could use Open Graph to post a dynamic link, if the mentioned user clicks on it > challenge accepted. If any other user clicks on it, he will just get redirected to the main app page.
...another idea, which is probably the very best:
use the request dialog for the challenge
after sending the request, let the user (if he wants to) post a message about it on his wall (feed dialog)

How can I send a message/notification/inbox message to all of a page's fans?

Have been searching over the Graph API docs, looking for the answer to this. I have been told and now am pretty sure there is no way for all fan page fans/people that like it to see a message in semi-real-time. I know I could send emails to the users if they use the application, but other then that I don't see anyway possible. This is for my application that provides brand engagement with live events.
Help?
You can post a status update to the wall and that will show up on their feed. That is the best you can do if you haven't collected email addresses.

Facebook recommend this site to a friend

I am trying to achieve this but i dont know what i should use. I looked here first
If a new user registers to the site and non of their friends have registered when they click on a add friend button
Find friends via Facebook
Post To F/B Wall (Message "Hey all i am really enjoying this site, come visit.")
The plugin is basically an optional shout, if you want more versatility you should make your own calls on the Graph API yourself, allowing you to find out more details about the user and their friends.