CampaignChain / campaignchain

CampaignChain Community Edition
Other
119 stars 51 forks source link

Add facebook location #405

Closed nguyencongvu closed 7 years ago

nguyencongvu commented 7 years ago

I can add twitter but not Facebbok

AppId and Secret ok

Error return

ERROR - Authentication failed! Facebook returned an invalid user id. CRITICAL - Uncaught PHP Exception CampaignChain\CoreBundle\Exception\ExternalApiException: "Authentication failed! Facebook returned an invalid user id." at /opt/campaignchain/campaignchain/vendor/campaignchain/security-authentication-client-oauth/Authentication.php line 123

kartik11 commented 7 years ago

Notice: Undefined index: oauth_token 500 Internal Server Error - ExternalApiException 1 linked Exception:Exception » I have faced while connect to Twitter, can you explain me how to connect to twitter. And i have faced the same FB issues from myside also.

nguyencongvu commented 7 years ago

Hi there, I connected twitter narutally (with key and secret).
Setting website: http://mydomain:8000 Callback url: http://mydomain:8000/callback (no route callback actually), just type it

That's it

kartik11 commented 7 years ago

Thanks for your response, i have connected to twitter and it's working. But still issues in FB. Can you share sample "Redirect URL", so i can update my FB app then go for rond of testing.

iamdeadman commented 7 years ago

I am also facing the same issue, did you find a solution to this facebook location issue.

groganz commented 7 years ago

I believe this was fixed with: https://github.com/CampaignChain/campaignchain/issues/423.