Integration with Facebook,Twitter |
I have hosted botlibre AI engine at my end.I want to check integration of my bot with Facebook and Twitter.For that I have started looking at the classes responsible for integration like org.botlibre.sense.facebook.FacebookMessaging,org.botlibre.sense.facebook.Facebook,org.botlibre.sense.twitter.Twitter etc. I understand these are all the senses and senses are responsible for taking input and outputing result.After going through the code I have got following questions 1. If there is a message sent from Facebook messenger how that message would be received by Facebook sense.I didn't see any code where a thread is listening for data.When we say sense.awake() does it only configures that sense or also waits for any input on that ense and if yes how does it waits? 2.In org.botlibre.sense.facebook.Facebook there is a method called checkProfile().Is this method time triggered or I have to explicity schedule this method call.
|
|
|
|
|