09-05 13:14:42.500:E / response = 0(7474):=== {"错误":{"消息":"不支持的帖子请求。请阅读https://developers.facebook.com/docs/graph-api"," type":" GraphMethodException"," code 34;:100}}
final String inputParm = post_id +" / tags?to =" +" pageId" ;
runOnUiThread(new Runnable() {
public void run() {
Bundle params = new Bundle();
params.putString(Facebook.TOKEN, faceboo.getAccessToken());
Log.e("params TOKEN",""+faceboo.getAccessToken());
mAsyncRunner.request(inputParm, params, "POST", new RequestListener()
{
@Override
public void onComplete(String response, Object state) {
// TODO Auto-generated method stub
Log.e("response=0","==="+response);
}
@Override
public void onIOException(IOException e, Object state) {
// TODO Auto-generated method stub
Log.e("onIOException","==="+e);
}
@Override
public void onFileNotFoundException(
FileNotFoundException e, Object state) {
// TODO Auto-generated method stub
Log.e("FileNotFoundException","==="+e);
}
@Override
public void onMalformedURLException(
MalformedURLException e, Object state) {
// TODO Auto-generated method stub
Log.e("MalformedURLException","==="+e);
}
@Override
public void onFacebookError(FacebookError e, Object state) {
// TODO Auto-generated method stub
Log.e("FacebookError","==="+e);
}
}, null);
}
});