DeveloperFahem / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

Update status of Fan page #240

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

I'd like to update the status of my Fan pages (I'm an admin of those fan
pages). But it looks like in the current Java API now we don't have a
function to do that, do we?

Thanks,

Original issue reported on code.google.com by phamanhv...@gmail.com on 10 Sep 2009 at 12:13

GoogleCodeExporter commented 9 years ago
Sorry - has find out - is it the stream publish one?

Original comment by phamanhv...@gmail.com on 10 Sep 2009 at 12:51

GoogleCodeExporter commented 9 years ago
Hi there,

I've tried to use:
client.stream_publish("Hello Test", null, null, pageID, userID);

It's ok. The post is posted to the Fan page by User, not by that Page. So I 
changed
to code to:
client.stream_publish("Hello Test", null, null, pageID, pageID);

And I got the exception: Permission Error.

I already granted the Permission Publish Stream for the application.

I just want to post the message to Fan page but the post is posted by that 
Page, not
by the User Admin of that page. Please help me. Thanks very much.

Original comment by phamanhv...@gmail.com on 10 Sep 2009 at 7:54

GoogleCodeExporter commented 9 years ago
I have same issue, I can get list of friends but can't publish  and can't check
permissin also

if(client.users_hasAppPermission(Permission.OFFLINE_ACCESS, fbUserId))
{System.out.println("Permission allowed  for offline access");
//client.feed
}

Original comment by dinesh....@gmail.com on 1 Oct 2009 at 7:38

GoogleCodeExporter commented 9 years ago
i had same problem as phamanhvu101284, any suggestions please share..  

Original comment by email.to...@gmail.com on 25 Nov 2009 at 7:18