Loading...
 
Skip to main content

Development


Facebook Social Network Does Not Work

Hi all,

About the social network in tiki-socialnetworks.php:

Thank in Advance

Hi Dan,

I am using Tiki 6.3 and my Facebook Integration now works very well (just finished a week ago). I can post my article to Facebook Wall. Solution: Our domain should have this: cURL Information: libcurl OpenSSL. Visit:

Unfortunately, my Twitter does not work as I expected 😊. Indeed, it works during the integration process but not when I tried to post article. I am still fixing this problem. Any idea?

Kind regards,
Edmund

Dan.BTown wrote:

I think this issue has shown up again in this Tiki forum post:

Did you manage to fix your situation?
Thx & regards,
– Dan


hi,

me and a friend did some coding on the socialnetworks.php

it's now working for us.

the problem seems to be that facebook doesn't supprot HTTP POST querys for completing the oauth handshake, i.e. asking for userdata object with the access token sent via a POST query. (is called in the function "facebookgraph()"

it works with a GET query though.

we cleand up the code so far but yet have to submit it.

though he maybe has already submitted, as i haven't heard from him the last days.

so, until the patch is incorporated if you don't wat to do the coding all on your own, feel free to contact me.

best regards
L0gi

L0gi wrote:

hi,

me and a friend did some coding on the socialnetworks.php

it's now working for us.

the problem seems to be that facebook doesn't supprot HTTP POST querys for completing the oauth handshake, i.e. asking for userdata object with the access token sent via a POST query. (is called in the function "facebookgraph()"

it works with a GET query though.

we cleand up the code so far but yet have to submit it.

though he maybe has already submitted, as i haven't heard from him the last days.

so, until the patch is incorporated if you don't wat to do the coding all on your own, feel free to contact me.

best regards
L0gi


I just upgraded to TikiWiki 7 for the Facebook feature and seems that I am having same difficulties. I can not seem to find anything like "facebookgraph()" in tiki-socialnetworks.php or socialnetworkslib.php files? Could you send me the files you have modified or instructions to help fix this - my email: netwarden (at) hotmail (dot) com.


I have posted a patch in r37630+r37635+r37640 in Tiki 7.x branch and r37630+r37634+r37639, to use GET instead of POST.