Loading...
 
Features / Usability

Features / Usability


Facebook Login fails and produces error. Can't login or authorize Facebook.

posts: 6 Canada

Hello,

I'm using Tiki 16.2 and have enabled Social Networks. After configuring the Facebook app and filling out the Facebook configuration in Tiki, attempts to "Authorize Facebook" or "Log in with Facebook" producer the following error:

Copy to clipboard
Error We were unable to log you in using your Facebook account. Please contact the administrator.


Other details:

  • I have enabled social networks permission for anonymous.
  • I am using an HTTPS enabled site.
  • The redirection works: if I am not currently logged into Facebook, it will redirect and prompt me to log in to Facebook, then return me to the site with the error message.
  • A Facebook cookie appears to be created for the Tiki site


I think I have set up the Facebook app correctly, but am not completely sure since the Facebook app settings have changed since the documentation for Tiki was written.

Can anyone offer some assistance or even confirm that the Facebook login is working still?

Thanks

posts: 6 Canada
Can anyone confirm that Tiki Facebook social integration and login is working? Or is it incompatible with Facebook's current API?

posts: 6 Canada

UPDATE:

Same result on a different server.

I've installed Tiki on a completely different web server, this one running PHP 5.6. (Previous server is running PHP 7.0).

I created a new Facebook APP. I still get the same error message.

Additionally, attempts to use the Twitter integration result in a Fatal Error on authorization:

Copy to clipboard
Fatal error: Uncaught exception 'ZendOAuth\Exception\RuntimeException' with message 'Could not retrieve a valid Token response from Token URL: {"errors":[{"code":89,"message":"Invalid or expired token."}]}' ... ZendOAuth\Http\Access in /home/sites/tiki/vendor/zendframework/zendoauth/library/ZendOAuth/Http.php on line 218

posts: 6 Canada

Ok, thanks for pointing this out.

The project I am planning to use Tiki with requires Facebook and Twitter integration. Not sure what my next step should be.

It seems like the code that retrieves Facebook (and Twitter's) authorization token needs to be updated. Unfortunately I don't think I have the perspective to implement this efficiently/properly.

Should a bug report be entered?



Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting