huuanh1987 / facebook-java-api

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

connect_getUnconnectedFriendsCount requires session key #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in a Facebook Connect site
2. call connect_getUnconnectedFriendsCount

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

Expect to have an int returned.   But instead an exception is thrown 
saying:

    A session key is required for calling this method

What version of the product are you using? On what operating system?
   Using 2.0.5 on Linux server

Please provide any additional information below.
   In FacebookMethod.java, the listSessionNone EnumSet should not include 
CONNECT_GET_UNCONNECTED_FRIENDS_COUNT

Original issue reported on code.google.com by studyst...@gmail.com on 27 Feb 2009 at 2:15

GoogleCodeExporter commented 8 years ago
http://wiki.developers.facebook.com/index.php/Connect.getUnconnectedFriendsCount
states that the session key is required. Are you using a session key?

Original comment by david.j....@googlemail.com on 1 Mar 2009 at 4:34

GoogleCodeExporter commented 8 years ago
I implemented a JUnit test. I agree it was broken. Now fixed on both trunk and
composition branches. Thanks.

Original comment by david.j....@googlemail.com on 1 Mar 2009 at 4:57