socialLoginCallback(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .get("user/authorize/facebook/callback", { params: payload })
        .then(response => {
          if (response.data.access_token) {
            localStorage.setItem("token", response.data.access_token);
            ctx.commit("SET_LOGGEDIN", true);
            resolve(response);
          } else {
            reject(response);
          }
        })
        .catch(error => {
          reject(error);
        });
    });
  }
/**
    // User Login By Facebook
    # Get Code From Router Query
    # Generate Token Whene Clalback & Add Token IN LocalStorge
  **/
User Login By Facebook
Get Code From Router Query
Generate Token Whene Clalback & Add Token IN LocalStorge
User Login By Facebook Get Code From Router Query Generate Token Whene Clalback & Add Token IN LocalStorge
socialLoginCallback(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .get("user/authorize/facebook/callback", { params: payload })
        .then(response => {
          if (response.data.access_token) {
            localStorage.setItem("token", response.data.access_token);
            ctx.commit("SET_LOGGEDIN", true);
            resolve(response);
          } else {
            reject(response);
          }
        })
        .catch(error => {
          reject(error);
        });
    });
  }
socialLoginCallback ( ctx , payload ) { return new Promise ( ( resolve , reject ) => { axios . get ( "user/authorize/facebook/callback" , { params : payload } ) . then ( response => { if ( response . data . access_token ) { localStorage . setItem ( "token" , response . data . access_token ) ; ctx . commit ( "SET_LOGGEDIN" , true ) ; resolve ( response ) ; } else { reject ( response ) ; } } ) . catch ( error => { reject ( error ) ; } ) ; } ) ; }
User Login By Facebook
 Get Code From Router Query
 Generate Token Whene Clalback & Add Token IN LocalStorge
User Login By Facebook Get Code From Router Query Generate Token Whene Clalback & Add Token IN LocalStorge