Forum Discussion

bongsakorn's avatar
7 years ago

facebook authentication rest api

Hello, 

 

In reply message api or reply private message, They have to use session key in api that I can get from  api below.

https://community.dtac.co.th/restapi/vc/authentication/sessions/login?user.login=<username>&user.password=<password>

 

But my community open feature to allow user register with their Facebook.  How can I authenticate with facebook user for get session key?

 

Thank you in advanced

  • bongsakorn - Even if those users are being registered using community but you will not have every user password which means you can not authenticate using their id. 

    You should authenticate using community user which has admin access and has the username and password. To post a reply on behalf of another user, you can add parameter e.g message.author=login/id. 

4 Replies