huuanh1987 / facebook-java-api

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

user_to_user notifications #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call method Notifications.send (use parameter user_to_user)
2. send the notification to a non-friend user (both users sender/receiver
have installed the app)
3.

What is the expected output? What do you see instead?
i excepted to deliver the Notification. instead of this not any
Notification is delivered, not any exception is thrown.

What version of the product are you using? On what operating system?
1.8.0 released version

Please provide any additional information below.

Hi developers,

i need to use the new API Notifications.send method that enables a
user_to_user 
notification interaction.

Currently i have tested the latest released version 1.8.0, 1.8.1 and 2.0.0
(downloaded jar 
file with maven)

Unfortunately for the 1.8.1 i get Invalid parameter while calling
Notifications.send 
and for the 2.0.0 i cant even test it because i get Null pointer Exception
inside 
library in several cases (users_isAppAdded(), auth_getSession(), etc..)

the latest stable version i have tested is 1.8.0 but while i have patched
it by 
using the patch
http://code.google.com/p/facebook-java-api/issues/detail?id=96 it seems
that is not working (at least the user_to_user 
notifications are not delivered). I also changed the FB_SERVER to 
api.new.facebook.com

Original issue reported on code.google.com by mosch...@gmail.com on 15 Sep 2008 at 8:48

GoogleCodeExporter commented 8 years ago
are you still having issues?

How are you getting the FbClients?  They might be coming up without proper 
sessionKeys?

Original comment by fern...@gmail.com on 30 Sep 2008 at 4:29

GoogleCodeExporter commented 8 years ago
The above patch update only the FacebookRestClient class, you would also need 
to update the ExtensibleClient 
class as well if you are using it as your api client (or any client that 
extends from it) 

Original comment by yulinsco...@gmail.com on 2 Oct 2008 at 3:21

GoogleCodeExporter commented 8 years ago
Hi,

it works fine for 1.8.0. It seems that you need to create fbclient without 
providing 
session key.

just give secret and apikey.

\m

Original comment by mosch...@gmail.com on 10 Oct 2008 at 8:41

GoogleCodeExporter commented 8 years ago
Please update to 2.0.3. Thanks.

Original comment by david.j....@googlemail.com on 21 Dec 2008 at 10:26