How does RockMelt send Facebook messages? - facebook

Everything I've read says that you can't send messages but in RockMelt you can send your friend a beta invite through Facebook messages.
Are they using a preview of the Inbox API? Is there another way they're doing this?

This was taken from an answer on Quora that Eric Vishria the CEO of Rockmelt said:
"If a user wants to invite a friend who has not signed up on our site, we generate a download link, and pre-populate a Facebook message (in our own UI) that the user can edit/tailor and click Send, or copy and send via some other means (email, chat...).
We do not auto-send Facebook messages and the messages aren't from us, they are user to user.
If a user invites a friend who has signed up on our site (via the "Hook 'em up" button) that sends a notification to our backend that a user has been hooked up and we send that friend an email that such and such user has hooked them up. We are able to do this because when users sign up on our website, they connect via Facebook and authorize our application to send them email.
We spent a lot of time making the system not spammy (no auto posts to feeds, no automatic emails, etc....) where invites go to people who want them or users have to take an explicit action to tell their friends about it."
http://www.quora.com/What-Facebook-permission-enables-an-app-to-send-user-to-user-messages?redirected_qid=97754

To send a message to a friend you can use the Send Dialog, similar to the Feed dialog that will post to the wall but it lets the user select one or more friends and send a message:
https://developers.facebook.com/docs/reference/dialogs/send/

Related

Sending app requests from server side

I am building a facebook app where users create invitations and invite their friends to join the event. It has 3 steps and second step has a custom friend selector where I let user select some of his friends that he/she would like to invite. In step 3 after confirming I would like to send notification/message/request to invitees and I can't figure out a nice way to do that.
I can't use JS friend request as I have a custom friend selector.
I couldn't find a way to send a message from server side.
I was able to send app request but only to app users.
Is there A way of sending a little notification to user that he was invited to an event by his friend?
*Not all invitees are app users
*Not all users accepted TOS
*Don't want to post to wall until invitee accepts or rejects the invitation
Any pointers would be appreciated.
UPDATE
Hope this helps someone. Here is how I was able to send a server side request.
#oauth = Koala::Facebook::OAuth.new('app_id', 'access_token')
#oauth_token = #oauth.get_app_access_token
graph = Koala::Facebook::GraphAPI.new(#oauth_token)
graph.put_object("fb_id", "apprequests", {:message=>'Welcome to my app'})
To finally answer this question (according to the latest API Version v2.5): It is not possible to send notifications or App requests server side to users who did not authorize your App. You should use the official apprequest dialog, or other dialogs like the send dialog. Or just send emails.

how to send mass emails/messages to a persons friends on facebook

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.

Facebook app: send message to users

I would like to know if theres a way to make my app send any type of message/notification to a user with a certain uid. Anything but posting to the users wall will be ok.
You can request the email extended permission to get the current user's email address and you can email them that way. To send a message to a users friends (without posting to their wall), the only current option is the requests dialog in the javascript sdk.
Did you gave Send Dialog a try, here is the link: https://developers.facebook.com/docs/reference/dialogs/send/
The only limitation is you have to have a url along with. The notification goes in the message timeline. Basically it is meant for sending content, not bare messages.

Facebook: Best way to allow one Facebook user to send a secure link to another Facebook user?

Hey, I'm a product management guy looking to understand how we can deliver audio clips into Facebook. Specifically, I'd like to allow a user (a "sender") who is logged into my iPhone app through Facebook connect to send a link for an audio file to another Facebook user (a "recipient" who has never logged into my app). I understand that it's not currently possible for this link to be sent as an outside email to the recipient, or even as an internal Facebook message. Is that still true?
If so, I'm wondering if it's possible (and advisable?) to post it as a chat message, or as an invite that is posted to the recipient's wall. For the chat message, if it's possible then what are the downsides of that method? For the invite, I realize the wall post will only be visible to the recipient, but I'm concerned that the recipient may not realize that and will think that the audio file is available to anyone who views his profile.
As such, for the invite method, I'd like to require the recipient (after they click a link in the wall post invite) to login to our web site where the audio is hosted via Facebook connect before listening to the audio. Is it possible to accomplish that? In other words, will I be able to know when the person logs in through Facebook connect that he is the recipient? In addition to a token in the audio link URL, how do I track that? Will I need to track a user ID or something?
Thanks in advance for your thoughts!
I'd go with the wallpost method.
I'd implement it by letting the initial user share a link on a friend's wall saying "User has shared a song with you! Click here to open it!" or something like that. When any user clicks that link, prompt for install and once they're authenticated, show them any files that are theirs (and yes, you'll need to check their user ID vs. the user IDs that were stored as links in your database).
If it's not the friend who clicks the link, they won't see anything (or they'll see something different). You could even use a customized link and show an error if an unauthorized user clicks to that page.
For what it's worth, this is how Amazon handles giving Amazon gift cards via Facebook.
If this is unclear or too vague, let me know and I'll clarify.

Send Reminder application invitation to facebook friends

Can facebook send reminder invitation for application request? In my web application ,member have facility to send invitation to his/her facebook friend for join my application. I am using facebook multi selector to send application invitation. I want to send a reminder invitation after a one week to facebook user which haven't join my application. Can anyone tell me how can i send a reminder to facebook user for join my application? Can facebook give any facility to send reminder via multiselector or if facebook provide and other facility.
Plz give any suggestion.
Thanks!
What about you go about it this way:
use the facebook API to connect the user and list his/her friend on your site with a checkbox beside each.
Send an invitation to the checked friends (via a dm maybe) and save the friend list in a db (you can call the table 'invites' and should include date, invitee and status). The invitation/registeration link should include a referer id to track the invitee.
Once the invitation is honored, GET the referer id and update the status to registered (you can denote that with 1).
Setup a daily cron to check for invites with not registered status that is 15 days. Resend invite to them.
Only problem is storing the user's friends has great privacy issues. If you must do it, make proper provisions in your privacy policy.