Created
March 24, 2013 12:25
-
-
Save mlitwiniuk/5231708 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
window.share_contest = function(){ | |
alert('sharing clicked'); | |
FB.ui({ | |
method: 'feed', | |
app_id: $('body').data('app_id'), | |
name: 'Title text', | |
link: $('body').data('tab_url'), | |
redirect_uri: $('body').data('app_url'), | |
caption: 'Caption text', | |
description: 'Description text', | |
message: '', | |
display: 'async' | |
},function(resp){ | |
alert(resp); | |
} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment