且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在共享的Andr​​oid的Facebook墙上的链接

更新时间:2023-01-01 20:47:09

您可以使用以下code ++实现这个

You can achieve this using the following code

Bundle parameters = new Bundle();
parameters.putString("message", "Test Photo");
parameters.putString("attachment", "{\"name\":\"My Test link\","
+"\"href\":\""+"http://www.google.com"+"\"}");
facebookClient.dialog(this, "stream.publish", parameters, this);