I'm using Facebook SDK 3.0 for Android.
how make a custom likes button
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
has OAuthException (#3) Application does not have the capability to make this API call.
no way use in app like ?