huuanh1987 / facebook-java-api

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

users_setstatus for users other than logged in users does n't work #215

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. FacebookJsonRestClient client = new FacebookJsonRestClient(api_key,secret);
String auth = client.auth_createToken();
2.BrowserLauncher browserLauncher = new BrowserLauncher(null);
            browserLauncher.openURLinBrowser(
                props.getProperty("login_url")
                    + "&api_key="
                    + props.getProperty("api_key")
                    + "&auth_token="
                    + auth);
3.String session = client.auth_getSession(auth,true);
 client.users_setStatus("Setting programatically", true,false,new
Long(598140172)); 

What is the expected output? What do you see instead?

Expected output, the specified user's status should have updated but I see 
client.users_setStatus("Setting programatically", true,false,new
Long(598140172));

What version of the product are you using? On what operating system?
facebok java api 3.0.0 on windows xp

Please provide any additional information below.

Original issue reported on code.google.com by nagar.se...@gmail.com on 12 Jun 2009 at 11:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Forgot to mention that users_setStatus() works fine for logged in user. i.e I i 
say
 client.users_setStatus("set status") works fine but  client.users_setStatus("set
status", false, new Long(a friends's id)) does n't work..

Original comment by nagar.se...@gmail.com on 12 Jun 2009 at 11:20

GoogleCodeExporter commented 8 years ago
has that "friend" given your app the proper set_status extended permission?

Original comment by fern...@gmail.com on 1 Nov 2009 at 1:09