我在unity3d制作了一款游戏并在脸谱墙上分享了得分。我用过这个
私人const字符串FACEBOOK_APP_ID =" 1624727317787654&#34 ;;
私人const字符串FACEBOOK_URL =" http://www.facebook.com/dialog/feed";
我的分享代码是
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! This is amazing",
"http://server.vishal.com/games/icon/fb-share.png",
"http://www.facebook.com/");
}
我的问题是,当我在facebook上发布时,pictureParameter图标未显示。我的图标大小是319 x 350任何帮助都将是优雅的。
...谢谢