I'm trying to send a post to a selected facebook friend wall using the facebook feed API (as the graph API now only works in iphone for me and this is the reason : and this is the code i wrote :
//facebook initialization : facebook = require('facebook'); facebook.setBubbleParent(false); facebook.appid = 'xxxXXmyappIdXXxxx'; facebook.permissions = ['publish_stream', 'read_stream', 'email','user_photos', 'friends_photos', ' user_events', 'friends_events','user_likes']; facebook.forceDialogAuth = true; var data = { link: 'xxxXXXX mylink XXXXXxxxxxx'+Alloy.Globals.invitation_code, name: L('fb_invite_wall_post_name'), message: L('fb_invite_wall_post_msg')+Alloy.Globals.invitation_code+"'", caption: L('fb_invite_wall_post_caption'), picture: "xxxXXXX picture Url XXXXXxxxxxxlogo_big.png", description: L('fb_invite_wall_post_descrpt')+Alloy.Globals.invitation_code+"'.", to:this.user_uid }; //facebook.requestWithGraphPath(this.user_uid+'/feed', data, 'POST', showRequestResult); facebook.dialog("feed", data, showRequestResult);i got a blanck facebook feed dialog box (this happens in 98% test-cases) as shown here : http://i.imgur.com/Gj5uch6.png
by the way , i don't know why displaying images here never worked for me, i tryed this : 