• [MOD] Facebook Connector V1.0 & V2.0 5 0 5 1
Currently:  

Author Topic: [MOD] Facebook Connector V1.0 & V2.0  (Read 264066 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #15 on: July 05, 2010, 10:33:22 PM »
it says: PHP Version 5.2.13
ended up adding the tables manualy,not sure if right tho..

but still getting:
Code: [Select]
Parse error: syntax error, unexpected T_CONST in /home/jonnyo/public_html/CSSS/facebook/fbmain.php on line 5
took lines 5 to  8 out and loads ok. but cant connect due to no keys..

I thought you would say that, I saw the same thing in 5.2.12 but seems to be fixed in 5.3.
Install the attached fbmain.php file overwriting the one on your system and this should work.
I did not make the fbmain, I just copied it straight from facebook. Not sure why the error...

Update:
You will also need to make a change in the includes\pageheader.php file
look for
Code: [Select]
"fb_appid" => FBAPPID,replace with
Code: [Select]
"fb_appid" => $fbappid,
This should take care of your invalid/disabled appid problem.
Sorry, I was awhile back when I tested this code

« Last Edit: July 05, 2010, 11:27:31 PM by budduke »
Buddy Duke
www.budduke.com

Offline jonnyo

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #16 on: July 05, 2010, 10:42:04 PM »
it says: PHP Version 5.2.13
ended up adding the tables manualy,not sure if right tho..

but still getting:
Code: [Select]
Parse error: syntax error, unexpected T_CONST in /home/jonnyo/public_html/CSSS/facebook/fbmain.php on line 5
took lines 5 to  8 out and loads ok. but cant connect due to no keys..

I thought you would say that, I saw the same thing in 5.2.12 but seems to be fixed in 5.3.
Install the attached fbmain.php file overwriting the one on your system and this should work.
I did not make the fbmain, I just copied it straight from facebook. Not sure why the error...



thanks for that, the site working fine as it seems now, but still no luck looging in with facebook,
Code: [Select]
Invalid API key specified

The application you are trying to access does not exist or has been disabled.
any thoughts?
how do i know if its been disabled?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #17 on: July 05, 2010, 11:28:57 PM »
Quote
Invalid API key specified

The application you are trying to access does not exist or has been disabled.

Please see my post right before yours. I have updated it to include a modification that should fix your problem.
That way, anyone else with that problem does not have to look all over to find the answer.

Sorry about the trouble...
Buddy Duke
www.budduke.com

Offline jonnyo

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #18 on: July 06, 2010, 12:14:28 AM »
Quote
Invalid API key specified

The application you are trying to access does not exist or has been disabled.

Please see my post right before yours. I have updated it to include a modification that should fix your problem.
That way, anyone else with that problem does not have to look all over to find the answer.

Sorry about the trouble...

nice, it works a treat now, thank you!
and adding the tables manualy work too.


Thanks again.

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #19 on: July 09, 2010, 04:22:30 PM »
Is it right ?

look attach

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #20 on: July 09, 2010, 05:07:00 PM »
@ TechnoRocker,
Yes that is correct...
Buddy Duke
www.budduke.com

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #21 on: July 09, 2010, 05:17:11 PM »
okay...but now comes an other error >.<....

Invalid API key specified


The application you are trying to access does not exist or has been disabled.


my gallery: clay-class.net..

do i musst upload the folder "facebook" to the root folder of my gallery or just the files ?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #22 on: July 09, 2010, 05:21:41 PM »
@ TechnoRocker,
Yes, upload the entire folder to the root of your gallery and the files will be inside that folder.

That error may be what another user was complaining about.
Depending on the version of PHP5 there is a couple of issues that I have no control over but hopefully looking at this post and replacing the file and changing the code will fix your issue.
http://www.4homepages.de/forum/index.php?topic=27396.msg148725#msg148725

You should try to use the original code unless you see the described error when running...
Buddy Duke
www.budduke.com

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #23 on: July 09, 2010, 06:08:57 PM »
when i upload the facebook folder to my root folder i get a blank page =(

edit:

look now.. another fail

edit2:

the facebook login doesen't work

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #24 on: July 09, 2010, 06:18:33 PM »
@TechnoRocker,

I saw this in the error...
facebook needs the JSON PHP extension.

Can you confirm that is part of your PHP5 install?

Make sure you made all additions/changes from the main post of this mod.
Buddy Duke
www.budduke.com

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #25 on: July 09, 2010, 06:22:49 PM »
I saw this in the error...
facebook needs the JSON PHP extension.

Can you confirm that is part of your PHP5 install?

I dont know.. =(..

where can i look at it?

Make sure you made all additions/changes from the main post of this mod.

I think i did it right

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #26 on: July 09, 2010, 06:25:27 PM »
I saw this in the error...
facebook needs the JSON PHP extension.

Can you confirm that is part of your PHP5 install?

I dont know.. =(..

where can i look at it?

In the admin area of 4images.
Click on phpinfo() and do a search for JSON to see if it is there anywhere...
Buddy Duke
www.budduke.com

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #27 on: July 09, 2010, 06:29:23 PM »
I can't find anything

http://clay-class.net/php.php

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #28 on: July 09, 2010, 06:39:36 PM »
I can't find anything

http://clay-class.net/php.php

You will need to ask your provider if they can add that extension to your PHP...
Sorry, that is a facebook requirement and not 4images.
Buddy Duke
www.budduke.com

Offline TechnoRocker

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #29 on: July 09, 2010, 06:41:25 PM »
no problem...

its my v-server..

how can i install the extension