Osclass forums
Support forums => Plugins => Facebook Connect => Topic started by: suv100 on February 15, 2014, 06:21:52 pm
-
Hi
I'm using Osclass application available at godaddy.com. How do I paste the fb connect code in my website?
-
You have to edit the theme you use. And enter the code in the file that you want to appear.
-
If you want the facebook appear on home page, open your main.php file, and if you want it appear on detail ads open your item.php under your themes folder
-
Thanks for the reply. But can someone give me a step by step instruction on entering the code in the main.php file? I want the connect button to appear near login.
Thanks.
-
Ok, I was able to paste the code according to the directions I got from another thread, but I have another problem. Clicking on the 'login with facebook' link returns a blank page.
This is the link I get:
https://www.facebook.com/dialog/oauth?client_id=14039475165302&redirect_uri=http%3A%2F%2Fwww.example.com%2F&state=03668e4548b17b7a0a502331e43d41c7&scope=email
-
Your App id is wrong. Check if entered correctly.
-
Yes, the app ID is missing two digits but even with the correct ID I get a blank page.
After fiddling with some facebook app settings, now I get the following message:
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
-
Solved. I had failed to add the platform in developer basic settings. Now its working fine.