Login/Signup using Facebook at Portal Side

User can use this api for login/signup into the system from portal side with specified event.

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.

AttributesDescription
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
4040010 Phone number not found.
4090108This phone number is already present in our system, Please merge your account.
4060001 If server cannot produce a response matching the list of acceptable values than it returns specific error message.
4040100No User could be found.
4040009Facebook token is not valid.
4090102 Incorrect password, please try again.
4090101 User already exist.
4090113 User country code is different.
4040200 No Event could be found
Language
Click Try It! to start a request and see the response here!