How Can I use RASA to use facebook graph API to collect user data ? (Like User Profile API when User gives consent)

Hi,

I am new to RASA and trying to build a bot using facebook messenger.

I am able to configure facebook channel and have conversation. As next step I want to get additional data of the fb users , e.g. Profile data can be retrieved using “User Profile API”.

Is there a way to get such information (graph APIs) in current design. Or, any reference to example code doing this already.

Cheers Palz

you would do this in a custom action, as for how to use the graph API you would need to look at their documentation

I was hoping that we have access to current_messenger through the tracker. I ended up using fbmessenger in action to get necessary information about the user, like you suggested.

Thanks.