AdviceBot / FriendBot

Apache License 2.0
0 stars 0 forks source link

Exchange messages between two users via FriendBot #18

Open Ninani opened 4 years ago

Ninani commented 4 years ago

We have two users Carol, Nancy and FriendBot.

Example use case: Carol -> bot: I need scissors bot -> Nancy: Carol is looking for scissors. Nancy -> bot: I have scissors! Nancy -> bot: Are these ok? \<image> bot -> Carol: Nancy has scissors! bot -> Carol: Is it ok? \<image from Nancy> (with buttons: yes/no) Carol -> bot: Yes! (clicked under image) bot -> Carol: Great! Please contact Nancy directly.

Ninani commented 4 years ago

Create test users: https://developers.facebook.com/docs/apps/test-users/

From user permissions reference: user_friends - The user_friends permission allows your app to get a list of a user's friends using that app. You can use this permission to create a social experience in an app via a list of friends. user_location - The user_location permission allows your app to read the city name as listed in the location field of a person's Facebook profile.

DONE with the following settings (Carol, Nancy): image