Why did I got this error? I am trying make the bot run on facebbok. It is working well but by retrieving wordpress posts I got this error bellow:
2017-02-18 12:02:11.298 - WARNING -- FacebookMessaging:400 : {"error":{"message":"(#100) The parameter recipient is required","type":"OAuthException","code":100,"fbtrace_id":"FChOvtf+1\/x"}}
2017-02-18 12:02:11.299 - WARNING -- FacebookMessaging:400 : {"error":{"message":"(#100) The parameter recipient is required","type":"OAuthException","code":100,"fbtrace_id":"FChOvtf+1\/x"}}
2017-02-18 12:02:11.301 - WARNING -- FacebookMessaging:java.lang.RuntimeException: 400 : {"error":{"message":"(#100) The parameter recipient is required","type":"OAuthException","code":100,"fbtrace_id":"FChOvtf+1\/x"}}
at org.botlibre.util.Utils.fetchResponse(Utils.java:496)
at org.botlibre.util.Utils.httpPOST(Utils.java:438)
at org.botlibre.sense.facebook.Facebook.sendFacebookMessengerMessage(Facebook.java:1665)
at org.botlibre.sense.facebook.FacebookMessaging.output(FacebookMessaging.java:328)
at org.botlibre.sense.BasicAwareness.output(BasicAwareness.java:207)
at org.botlibre.thought.language.Language.think(Language.java:1229)
at org.botlibre.thought.BasicMind.processConsciousThoughts(BasicMind.java:343)
at org.botlibre.thought.BasicMind$1$1.run(BasicMind.java:270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-02-18 12:02:11.302 - WARNING -- FacebookMessaging:java.lang.RuntimeException: 400 : {"error":{"message":"(#100) The parameter recipient is required","type":"OAuthException","code":100,"fbtrace_id":"FChOvtf+1\/x"}}
at org.botlibre.util.Utils.fetchResponse(Utils.java:496)
at org.botlibre.util.Utils.httpPOST(Utils.java:438)
at org.botlibre.sense.facebook.Facebook.sendFacebookMessengerMessage(Facebook.java:1665)
at org.botlibre.sense.facebook.FacebookMessaging.output(FacebookMessaging.java:328)
at org.botlibre.sense.BasicAwareness.output(BasicAwareness.java:207)
at org.botlibre.thought.language.Language.think(Language.java:1229)
at org.botlibre.thought.BasicMind.processConsciousThoughts(BasicMind.java:343)
at org.botlibre.thought.BasicMind$1$1.run(BasicMind.java:270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
|