Advertisement:

Author Topic: (Solved)I can't get FB Connect working, Long URL, Not Logged in  (Read 9048 times)

heidenmason

  • Newbie
  • *
  • Posts: 36
(Solved)I can't get FB Connect working, Long URL, Not Logged in
« on: January 09, 2014, 03:25:32 am »
I have been scouring the forum with Facebook Connect topics, I must have read almost 300 by now.

Osclass 3.3.2
USA theme

I'm using the Osclass FB_Connect plugin. I have not been able to get the FB_Connect to work I have my appId: & secret: from the FB dev page.
I have pasted the code given in the plugin in the header "<?php fbc_button(); ?>"

After Clearing the chrome cache, If I click the "Login with Facebook" it prompts me to login with my FB credentials and returns me to the home page not logged in.

Anyone with 3.3.2 and FB_Connect working i would really appreciate the help.
Many thanks in advance.
Heidenmason
« Last Edit: January 16, 2014, 07:57:44 pm by heidenmason »

heidenmason

  • Newbie
  • *
  • Posts: 36
Re: I can't get FB Connect working, Please help
« Reply #1 on: January 10, 2014, 10:06:42 pm »
Update: a new version of the Facebook Connect plugin was released Version:1.4.1 | By OSClass, I have still not been able to get this to work.

bitxp

  • Newbie
  • *
  • Posts: 10
Re: I can't get FB Connect working, Please help
« Reply #2 on: January 16, 2014, 05:47:19 pm »
Same problem here.
I'm using OSclass 3.3.2 and FB plugin 1.4.1 on this site: www.bitxp.ch
When I click on "login with FB", it opens some FB page asking me to share some personnal details. I lick on "accept", the page goes back to my site but I'm not logued.
If I click on the link once again, nothing happens. It stays on the same page, doing nothing. I can see that some very long URL is sent, but it doesn't work.

I tried some workarround found on this forum, with no luck.
Please help  ;D
Regards, Julian

heidenmason

  • Newbie
  • *
  • Posts: 36
Re: I can't get FB Connect working, Please help
« Reply #3 on: January 16, 2014, 07:55:15 pm »
in Oc-content/Plugins/Facebook/index.php I placed the error reporting code at the beginning:

Code: [Select]
error_reporting(E_ALL);
ini_set("display_errors",1);

this displayed an error of
Quote
Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' in /home/a5942145/public_html/oc-content/plugins/facebook/src/base_facebook.php on line 954

after some digging and talking to the hosting company, Curl SSL was not turned on.

I hope this helps.

heidenmason

data99

  • Full Member
  • ***
  • Posts: 180
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #4 on: January 19, 2014, 02:49:56 am »
reinstall osclass

Andryus

  • Newbie
  • *
  • Posts: 4
  • Clasifikme.com
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #5 on: February 04, 2014, 02:06:30 am »
How did you manage to fix it? I have the same problem.

heidenmason

  • Newbie
  • *
  • Posts: 36
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #6 on: February 05, 2014, 08:07:09 pm »
How did you manage to fix it? I have the same problem.

in Oc-content/Plugins/Facebook/index.php I placed the error reporting code at the beginning:

Code: [Select]
error_reporting(E_ALL);
ini_set("display_errors",1);

this displayed an error of
Quote
Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' in /home/a5942145/public_html/oc-content/plugins/facebook/src/base_facebook.php on line 954

after some digging and talking to the hosting company, Curl SSL was not turned on.

I hope this helps.

heidenmason

Talking with the hosting company will let you know if cURL ssl is enabled.
I can tell you that if you have 000webhost or namecheap hosting that it is by default


doles

  • Newbie
  • *
  • Posts: 1
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #7 on: April 11, 2014, 03:00:48 am »
Same problem here.

My server has curlSSL enabled, but when I ty to log users in with facebook, they get redirected to homepage, and not created in the DB

carsangrah123

  • Jr. Member
  • **
  • Posts: 59
  • www.carsangrah.com
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #8 on: April 11, 2014, 09:01:27 am »
I also have same problem. I am using 000webhost.
If any one found solution, Please share.

isma907

  • Newbie
  • *
  • Posts: 25
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #9 on: April 13, 2014, 06:35:13 am »
im using hostinger and i have that problem :/

it working with this  (LOCAL) but .. not working on HOST
http://forums.osclass.org/facebook-connect/facebook-connect-failed/

heidenmason

  • Newbie
  • *
  • Posts: 36
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #10 on: April 21, 2014, 08:46:03 pm »
*Facebook Connect requires cURL SSL*

@hemantprakash123

I know from personal experience the the free version of 000webhost does not have cURL SSL enabled.

@isma907 did you try find the error (See Below)? Have you talked to "hostinger" to find out if cURL SSL is enabled?

in Oc-content/Plugins/Facebook/index.php I placed the error reporting code at the beginning:

Code: [Select]
error_reporting(E_ALL);
ini_set("display_errors",1);

this displayed an error of
Quote
Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' in /home/a5942145/public_html/oc-content/plugins/facebook/src/base_facebook.php on line 954

after some digging and talking to the hosting company, Curl SSL was not turned on.

I hope this helps.

heidenmason

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #11 on: April 21, 2014, 09:06:01 pm »
@ isma907 on hostinger not working "Facebook connect plugin" i tried

Akhim

  • Newbie
  • *
  • Posts: 34
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #12 on: June 20, 2015, 04:34:53 pm »
I have basically tried every suggestion that has been posted including having Curl and ssl enable but fb connect has never worked for me. Seems like no one too has ever been able to make it work on theme twitter.

nijamutheen

  • Newbie
  • *
  • Posts: 21
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #13 on: June 09, 2017, 02:24:39 pm »
i have also troubled this same problem ,i succefully installed facebook connect plugin  when I hit the Login with Facebook button,it creates a long URL in the address bar but it neither signs in or creates an any account.
 :'( :'( :'(
i stucked this problem last 4 days if anyone know this answer please  :)   share this mail id  "nijamutheen060@gmail.com"
I'm also already enabled cURL
« Last Edit: June 09, 2017, 02:53:37 pm by nijamutheen »

chobienmau_com

  • Newbie
  • *
  • Posts: 11
Re: (Solved)I can't get FB Connect working, Long URL, Not Logged in
« Reply #14 on: September 28, 2017, 06:33:54 pm »
Contact me at cnttlc@gmail.com. I can upgrade to latest facebook api.