Loading...
 
Features / Usability

Features / Usability


Unable to make my Tiki work with Facebook

posts: 18

When I go to 'Authorize' my site with facebook.com to use Facebook integration of my site, I'm taken to a Facebook page where I agree to let the Tiki app access my various Facebook stuff, then I am brought back to the Social networks page of my Tiki as if nothing was done. Then when I try it again, then it appears the Social networks page just re-loads.

At first I thought that Tiki was just not reading the data Facebook was sending it (ex: the token data), I did some poking around in the socialnetworkslib.php (make it spit out values for some variables) and it does show a valid token in the $access_token variable. However I decided to see what is in the $fb_profile variable and found this:

stdClass Object
(
[error] => stdClass Object
(
[message] => (#100) Can only call this method on valid test users for your app
[type] => OAuthException
)

)

Hopefully this tidbit of info will help somebody figure out why I can not get the Facebook integration working, as I don't understand what the message is trying to tell me.

It seems that Tiki is getting data from Facebook, just not what it is looking for. It would be nice if Tiki would come out with some sort of error message or display the $fb_profile content when logged in as admin so we could have a clue what is going on or pass on the info to someone who would know.


posts: 44 Canada

Regarding: https://tiki.org/tiki-view_forum_thread.php?comments_parentId=41846, I have posted a patch in in r37630+r37635+r37640 in Tiki 7.x branch and r37630+r37634+r37639 in trunk, to use GET instead of POST.

Put the Application Secret into the API key as well.

This is the commit you can reproduce to your 7.1 to get it to work:
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk/lib/socialnetworkslib.php?r1=37639&r2=37628&pathrev=37639


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