Login/Signup Using Facebook at Admin Side

User can use this api for login/signup into the system as a admin role.

We need to pass token here, which is generated after successful login into the Facebook account with the other details.

So if user account is already available than it will simply login into the system, if user is not registered in the system, than it will create new user into the system and automatically login into the system.

Here is the description of response attributes, which returns in the form of JSON.

access_tokenThis access token is used as authentication key to validate user has rights to access specific api or not.
It contains encrypted user details with event mapped with the user.
expires_inThe expires_in returns date and time of access token expiration.
redirectUrlIt contains redirect url based on user role after successfully login.
showExhibitorMenuIt returns true if user is a exhibitor admin or lead retriever else it returns false.
userIdThe userId returns unique value associated with user.
userRoleThe userrole returns the role of user associated with mapped event.
whiteLabelURLWhite label url is a unique url which is managed and provided by white label admin.

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
4040009 Facebook token is not valid
4040100 No User could be found.
4060001 If server cannot produce a response matching the list of acceptable values than it returns specific error message.
Click Try It! to start a request and see the response here!