Loading...
 
Features / Usability

Features / Usability


Re: Social Login unable to auto create user

posts: 400


Okay. Run that again, and then paste the url into https://developers.facebook.com/tools/explorer to test it. Paste over where it has "me?fields=id,name". Leave off the first part of the url and start with "oauth" - here is what to paste:

oauth/access_token?client_id=XXXXX&redirect_uri=https://fqdn/tiki-socialnetworks.php?request_facebook&code=AQBK97fDCoRwGAERSuPGo38kHiwP0D2A6-PktoJIjmY9kPvDI0pca5SPW88v0V7-62JbmTcspS7fMlQeTsu3BHu1KzbTOFbsemvw03jhpq52q72PIxMlLZjd4k5hY359BH3R4FCPwhDpkVicDW8_ppwY9EgySc_riwBUPzuqXncynm5-XfVfVrBViN_vZY3_QHV4zQwglmqvu_sCadvWPCx0uk61AiRe7aLRVXXsHA1zej2Ei3LUoPQz9SKsI9uBtIKuuotYZpXcmk6kFA1G5_hKIa3JvXZWNZ0ktQti3R9H37QcQcqcq1O5aectIpggM6BFLxMSrh6L1AcG5iEmcHWb&client_secret=XXXXXXXX

Then hit submit and see what response is. If you do it quick enough, it should be something like:

{
"access_token": "XXXXXXXX",
"token_type": "bearer",
"expires_in": 5183301
}

If the authorization code has already expired, then it would be something like this:

{
"error": {
"message": "This authorization code has expired.",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "Hdp1vXrcmgB"
}
}

Either way, it means the url is valid and should work and the problem is definitely with Tiki. In which case there is another method to sending the get request, but it will be a couple of days before I can work on that.