Post score on facebook wall in unity3d -
i made game in unity3d , share score on facebook wall. used this
private const string facebook_app_id = "1624727317787654";
private const string facebook_url = "http://www.facebook.com/dialog/feed";
and code of sharing is
void openuserfbwall (string linkparameter, string nameparameter, string captionparameter, string descriptionparameter, string pictureparameter, string redirectparameter) {
application.openurl (facebook_url + "?app_id=" + facebook_app_id + "&link=" + www.escapeurl(linkparameter) + "&name=" + www.escapeurl(nameparameter) + "&caption=" + www.escapeurl(captionparameter) + "&description=" + www.escapeurl(descriptionparameter) + "&picture=" + www.escapeurl(pictureparameter) + "&redirect_uri=" + www.escapeurl(redirectparameter)); } public void sharetofacebook(){ openuserfbwall("https://www.e-alyss.com/interactivity-details.php?iid=2&cid=62", fb_msg_type + score + "%", "my game", "wow! amazing", "http://server.vishal.com/games/icon/fb-share.png", "http://www.facebook.com/"); }
my problem that, pictureparameter icon not shown when post on facebook. icon size 319 x 350 gracefull.
thanks....
Comments
Post a Comment