如何使用facebook api在Facebook文章中設置圖標?
我在facebook上發佈了一條消息,使用下面顯示的包。
Bundle postParams = new Bundle();
postParams.putString("name", "Facebook SDK for Android");
postParams.putString("caption", "Build great social apps and get more installs.");
postParams.putString("description", "The Facebook SDK for Android makes it easier and faster to develop Facebook integrated Android apps.");
postParams.putString("link", "https://developers.facebook.com/android");
postParams.putString("picture", "https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png");
Request request = new Request(Session.getActiveSession(), "me/feed", postParams,
HttpMethod.POST, null);
RequestAsyncTask task = new RequestAsyncTask(request);
task.execute();
How to set an icon and add an action in a facebook post using facebook api? 我試了一下,該解決方案可以幫不了我。
是不是像那樣工作http://stackoverflow.com/questions/5300128/how-to-set-an-icon-and-add-an-action-in-a-facebook-post-using-facebook -api – 2013-03-28 08:56:57