1
我正在使用Facebook SDK 3.0 for Android。android facebook sdk 3.0自定義按鈕
自定義如何讓喜歡按鈕
Request request = new Request(session, page_id + "/likes", null, HttpMethod.POST, new Callback()
{
@Override
public void onCompleted(Response response)
{
Log.i(DEBUG_TAG, response.toString());
// TODO Auto-generated method stub
if (response.getGraphObject() != null)
{
//Log.i(DEBUG_TAG, response.toString());
}
}
});
RequestAsyncTask task = new RequestAsyncTask(request);
task.execute();
PAGE_ID = 417732304946490
有OAuthException (#3)應用程序不必做此API調用的能力。
沒有辦法在應用程序中使用嗎?
http://stackoverflow.com/questions/5935034/integrate-facebook-with-like-button-in-android-and-iphone – Gridtestmail