ianlee-dev / facebook-java-api

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

LiveMessage.Send returns FacebookException with error code 0 error msg "Success" #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Desktop application
2. liveMessage.Send() with JSON object {"message":"abcd"}
3.

What is the expected output? What do you see instead?
I would expect to see "abcd" in recievers browser in his chat interface

What version of the product are you using? On what operating system?
1.8.o final

Please provide any additional information below.
tried with / without client.userBetaAPIServer() but still same problem.
Havent used any javascripts. Just intending to send live message at this
point. Also please provide further info for recieving messages in desktop
application.

Original issue reported on code.google.com by Shruthi....@gmail.com on 19 Oct 2008 at 3:17

GoogleCodeExporter commented 8 years ago
Am really stuck with this.

Original comment by Shruthi....@gmail.com on 19 Oct 2008 at 3:18

GoogleCodeExporter commented 8 years ago
Verified bug.

Instead of the POST passing 'uid', it should be passing 'recipient', as in
http://wiki.developers.facebook.com/index.php/LiveMessage.send.

POST: http://api.new.facebook.com/restserver.php?
api_key=xxxxx
call_id=3454354350779&
event_name=chatEvent732076781&
format=xml&
message=%7B%22
from%22%3A732076781%2C%22
msg%22%3A%22
text+to+send+as+live+message%22%7D&
method=facebook.livemessage.send&
session_key=xxxxx
sig=k8c908sad90sa8d87225c803ce6ba2&
uid=938371573&v=1.0

Original comment by hahna...@gmail.com on 23 Oct 2008 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by hahna...@gmail.com on 23 Oct 2008 at 3:39

GoogleCodeExporter commented 8 years ago
Added fix into 2.0.2, however the API call will not work until this issue is 
fixed: 
http://bugs.developers.facebook.com/show_bug.cgi?id=3523

Original comment by hahna...@gmail.com on 24 Oct 2008 at 11:48