Sending message from Facebook app to the user's Facebook friends -


i'm making app lets people share things specific friends on facebook. example: alice uses app, shares article bob, facebook friends her. app needs message bob in way , send him article.

how do this? don't have bob's email. can app send facebook messages on behalf of user?

did take @ facebook's api "send-dialog": https://developers.facebook.com/docs/sharing/reference/send-dialog

it seems pretty easily. restriction can't set message content.

you fo instance that:

fb.ui({   method: 'send',   link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',   to:'bob_facebookid' }); 

or using url redirection:

http://www.facebook.com/dialog/send?   app_id=123050457758183   &link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html   &redirect_uri=https://www.bancsabadell.com/cs/satellite/sabatl/   &to=bob_facebookid 

would fit want app do?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -