Closed Boia11 closed 9 years ago
This sounds link another misconfiguration issue. Could you just post a screenshot of your app settings?
I also try to submit review of facebook app
Alright I have tested the plugin on your site and I suppose your host does not support server-to-server connections (also known as outgoing connections) within the cURL configuration. This is a requirement and this is why the plugin isn't able to obtain an access token from Facebook. You might contact your host and ask to enable cURL server-to-server connections.
I also had the same doubt but in php_info the cURL is enable. This is not correlated?
I have ask to my host and the cURL is enable by default. I use CloudFlare with Universal SSL...can this be the problem? that your plugin doesn't support this feature?
Hi, I'm having the same question.. We host the site on a dedicated server, and I can't figure out what is meant by "enable cURL server-to-server connections." Could you elaborate?
Server-to-server connections allows the plugin to communicate and receive authentication tokens from Facebook. The latest versions of cURL have it enabled by default. If the plugin still can't connect with Facebook, you may be using a proxy and you must whitelist Facebook's servers from the proxy itself. There's very little I can do as I never managed a server and I don't know the exact procedures and settings required. I just know that you need cURL outgoing connections with Facebook's server running and operative.
Besides, I had the chance to look at this one more time, and it appears to be a problem related to ports. Your server must have port 443 open to let it communicate correctly with Facebook. This port is used for SSL connections, ensuring secure communications with Facebook's servers.
If you have direct access to your server, you might open port 443 and see the plugin work again. If you are on a shared hosting, I'm afraid there's little you can do rather than contact them and ask to open this port for you. Most probably, you will have to pay and upgrade your plan, or change host completely.
I have ask to my host...for SSL trought cURL and is request SSL certificate. For not spent other money I have set cloudflare for protect and add their Flexible SSL. Can I use this feature and not pay SSL certificate?
Cloudflares free / Flexible SSL just encrypts the connection between your site visitors and CloudFlare, but not from CloudFlare to your server, have you tried a selfsigned cert ?
A selfsigned certificate is provided within the plugin. Unfortunately, port 443 must be opened, but you don't really need a SSL certificate, which costs A LOT (and when I mean a lot, I mean over 100 bucks). Most hosting services offer port management within their cheapest premium plans; I have just purchased a premium account on hostinger.com for as little as 6 euros per 3 months and port 443 is open, thus MyFacebook Connect works fine.
Dear Shade,
I am using MyfacebookConnect (2.2) plugin on MyBB forum(1.6.x). I have just converted my site to SSL, after that my Facebook login is not working.
The request go to facebook and ask for username and password for user and it redirect to my site with the error "An active access token must be used to query information about the current user."
i have tried the solution you have provided above but issue is not resolved yet.
so please let me know what will be the solution, I will be grateful for your help.
this is the forum https://www.propertytribes.com/
Version 2.2 is deprecated, as its SDK is not supported by Facebook anymore. The latest version available is 3.1 which includes the newest SDK.
Thank you for your response Shade.
Actually the FB login was working fine without SSL but it is not working once we converted to SSL. So is there any short fix I can apply to resolved the issue or Do I need to update the plugin? There is a lot of customization is done by developers in current plugin, so if I update then previous code will be gone.
What you think is the best solution in which we can fix as soon as possible?
I look forward to hear from you soon.
Unfortunately I don't support older versions anymore, sorry. If you decide to customize the stock version, you also need to supply eventual bugs by yourself. Also, it's probably best to ask for new features to me rather than customize my plugins. I'm always open to requests.
OK fine. I am using MyBB forum veriosn 1.6. Is MyfacebookConnect 3.1 supported by MyBB 1.6??
Yes, as long as you add the global_intermediate hook. Read the installation instructions.
From 3.0 onwards there are some major changes to the minimum requirements. Make sure your host is compliant with them. Also, don't forget to save full dumps of both your database and your files.
To update, read the release instructions.
Nonetheless, I would recommend you to update your MyBB version to the latest available (1.8.11) in order to be secured against malicious attacks. If you feel like your board is too customized to make the big leap from 1.6 to 1.8, update your board to the latest 1.6 version at least.
I am using MyBB 1.6 but there is a lot of customization in forum. FB login was working fine but it suddenly not working since two days.
I want to use your FB plugin 3.0. There are some customization in my current FB plugin, Do I need to sync those changes to new Plugin.
How to update the plugin to 3.0?
I look forward to hear from you soon.
I have listed all the necessary references above.
I have follow the istruction but when i try to get link to FB:
But after more test, I haven't found the problem.