Get FB user information

Hello - The client requirement is to get the below FB user information upon opening the bot via FB messenger:

  • FB Profile ID
  • FB Profile name
  • FB registered mobile number
  • FB registered date of birth

There was an initial inquiry about this at https://community.kore.ai/t/can-we-get-the-name-of-the-facebook-user-at-the-time-of-initiating-the-chat/603

However, since the post was already old, I was just checking if there may be some upgrades that kore.ai has regarding this. Kindly advise.

Thanks,
SheelaD.

Hi @sheela.dimayuga,

The post that you have mentioned above is appropriate and would suffice your requirement.
Kindly try and let us know if you need any further clarification on the same.

Regards,
Yoga Ramya.

@sheela.dimayuga We should be able to fetch a limited set of user details as provided by Facebook Graph API . The retrieved information should be available under the user context of the user while communicating with the chat bot over the Facebook channel.

While the information being fetched depends on the permissions enabled and approved at the application created on Facebook and also that been sent by the channel itself ( Its the same application on FB the developer uses for enabling the channel on Kore.ai), please refer to the below API which gives you an insight on the user details that can be retrieved.

Thank you @Subrahmanyam! I’ll check this out.

Best regards,
SheelaD.