Permissions disallow message to user

239 views
Skip to first unread message

Moshe Recanati

unread,
May 11, 2015, 8:52:52 AM5/11/15
to res...@googlegroups.com
Hi,
I'm using RestFB to send message within conversation. I'm using the following code:

facebookClient.publish(id + "/messages", FacebookType.class, Parameter.with("message", fbMessage));

It's working great with regular users however once I'm trying to send to test users I'm getting the following error message.
com.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException: (#230) Permissions disallow message to user (code 230, subcode null)
at com.restfb.DefaultFacebookClient$DefaultGraphFacebookExceptionMapper.exceptionForTypeAndMessage(DefaultFacebookClient.java:1196) ~[restfb-1.10.1.jar:?]
at com.restfb.DefaultFacebookClient.throwFacebookResponseStatusExceptionIfNecessary(DefaultFacebookClient.java:1111) ~[restfb-1.10.1.jar:?]
at com.restfb.DefaultFacebookClient.makeRequestAndProcessResponse(DefaultFacebookClient.java:1045) ~[restfb-1.10.1.jar:?]
at com.restfb.DefaultFacebookClient.makeRequest(DefaultFacebookClient.java:958) ~[restfb-1.10.1.jar:?]
at com.restfb.DefaultFacebookClient.publish(DefaultFacebookClient.java:465) ~[restfb-1.10.1.jar:?]
at com.restfb.DefaultFacebookClient.publish(DefaultFacebookClient.java:489) ~[restfb-1.10.1.jar:?]
at com.maiff.was.connectors.impl.fb.graph.FBClient.sendMessage(FBClient.java:108) ~[FBClient.class:?]
at

I'm wondering which permissions are missing and how to enable them.

thank you
Moshe

Norbert Bartels

unread,
May 14, 2015, 7:11:45 AM5/14/15
to res...@googlegroups.com, re.m...@gmail.com
Which permissions do you use already?

Cheers
Norbert
Reply all
Reply to author
Forward
0 new messages