Last active
December 12, 2015 06:58
-
-
Save mmohiudd/4733215 to your computer and use it in GitHub Desktop.
send dialog test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>feed</h1> | |
<p> | |
Publishing to the stream is easy, as all the fields are optional. Just specify | |
what you need, and leave the rest out. | |
</p> | |
<script> | |
var publish = { | |
method: 'send', | |
to: [120803038, 100002268364410], // comma separated friend ids | |
message: 'getting educated about Facebook Connect', | |
name: 'Connect', | |
new_style_message: true, | |
caption: 'The Facebook Connect JavaScript SDK', | |
description: ( | |
'A small JavaScript library that allows you to harness ' + | |
'the power of Facebook, bringing the user\'s identity, ' + | |
'social graph and distribution power to your site.' | |
), | |
link: 'http://www.fbrell.com/', | |
picture: 'http://www.fbrell.com/public/f8.jpg', | |
actions: [ | |
{ name: 'fbrell', link: 'http://www.fbrell.com/' } | |
], | |
user_message_prompt: 'Share your thoughts about RELL' | |
}; | |
FB.ui(publish, Log.info.bind('feed callback')); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment