var appID:String = '012345678901234'; var title:String = 'Flash-JavaScript-Share'; var title_link:String = 'http://example.com/post/123'; var caption:String = 'Share from a Flash app on Facebook'; var desc:String = 'It\'s not so difficult sharing from a Flash app on Facebook with a callback!'; var pic:String = 'http://example.com/images/example.jpg'; var redirect_url:String = 'http://example.com/thank_you.php'; var url:String = 'http://www.facebook.com/dialog/feed?app_id=' + appID +'&picture=' + pic +'&name=' + escape( title ) +'&link=' + escape( title_link ) +'&caption=' + escape( caption ) +'&description=' + escape( desc ) +'&display='+ 'popup' +'&redirect_uri=' + redirect_url;
0 comments:
Post a Comment