我正在使用 http 调用在任何用户的墙上发布有关我的应用程序的信息。我这样做:
_url = "https://graph.facebook.com/" + user_id + "/feed?message=MSG";
_url += "&access_token=" + access_token;
_url += "&picture=" + fb_app_url + "fb_icon.png";
_url += "&name=" + String_ToUrl("MY GAMES");
_url += "&link=" + "http://www.nlkgames.com";
_url += "&description=String_ToUrl("descripción with accent")"
_url += "&method=post";
http.URL_CALL(_url);
此方法在用户的墙上发布正确的信息,但重音由带有问号的菱形显示。我不知道如何使它与口音一起使用。
String_ToUrl 将以这种方式编码字符串: "descripción with Accent" = "descripci%E9n+with+accent"
我的失败是什么?为什么用户的 facebook 的墙无法识别 urlencoded?