是否可以以相同的方式为应用创建页面的测试用户?
我无法通过页面发送消息来测试为使用graph-api(/{conversation-id}/messages
)的应用创建的用户,并且我也会收到跟踪错误,并且同样来自FB页面。
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:1174) ~[restfb-1.18.1.jar:?]
at com.restfb.DefaultFacebookClient.throwFacebookResponseStatusExceptionIfNecessary(DefaultFacebookClient.java:1100) ~[restfb-1.18.1.jar:?]
at com.restfb.DefaultFacebookClient.makeRequestAndProcessResponse(DefaultFacebookClient.java:1041) ~[restfb-1.18.1.jar:?]
at com.restfb.DefaultFacebookClient.makeRequest(DefaultFacebookClient.java:952) ~[restfb-1.18.1.jar:?]
at com.restfb.DefaultFacebookClient.publish(DefaultFacebookClient.java:444) ~[restfb-1.18.1.jar:?]
at com.restfb.DefaultFacebookClient.publish(DefaultFacebookClient.java:469) ~[restfb-1.18.1.jar:?]