Not resolved

Facebook for Developers Help

Ultra Theme started by Pata Gonia Dec 16, 2015 11 replies
Pata Gonia Dec 16, 2015 · 6:41 pm #2786

I’m trying to add a Facebook login using the process described on Facebook for Developers.

I am uncertain where/how to add the SDK Javascript as described.

I’m using buddy press and currently the login/register is located in a top bar on the homepage.

Puro Support Puro Dec 16, 2015 · 6:44 pm #2787

Hi Pata

Thanks for reaching out.

Try using the following plugin: https://wordpress.org/plugins/insert-headers-and-footers/. Once activated, go to Settings > Insert Headers and Footers. Insert the script part of the Facebook code into the header field provided.

The HTML portion of the code can be inserted into a page via the Visual/Text tabs or into a widget in a widget area or Page Builder. Use the Text widget.

Hope that helps.

Puro Support Puro Dec 16, 2015 · 6:49 pm #2788

Correction, insert the script provided by Facebook in the footer field of Header and Footer Scripts plugin.

Pata Gonia Dec 17, 2015 · 3:22 am #2792

Thanks. Everything seems to be in place on the page thanks to your direction, though I still can’t seem to get it to work properly. I’m getting an error about my URL. Not quite sure what that means but I guess I’ll go back to the app dashboard to find out.

Puro Support Puro Dec 17, 2015 · 3:24 am #2793

Please, send your URL so I can take a look. You can use the Set as private reply checkbox below if you’d like to keep your site private.

Pata Gonia Dec 17, 2015 · 4:11 am #2794

This reply has been marked as private.

Pata Gonia Dec 17, 2015 · 5:17 am #2795

This reply has been marked as private.

Puro Support Puro Dec 17, 2015 · 5:59 am #2796

This reply has been marked as private.

Pata Gonia Dec 17, 2015 · 3:53 pm #2797

This reply has been marked as private.

Puro Support Puro Dec 17, 2015 · 4:16 pm #2798

Thanks 🙂

It looks like you had the script in a Text widget above the HTML as well as in the Header and Footer Scripts plugin. I’ve removed the redundant script.

The main problem is that in Facebook settings, you need to go to your app and add the site URL that you’ll be using the app on. That’s the reason for the notification/error message.

Here is a thread that might help:

http://stackoverflow.com/questions/9670267/site-url-for-facebook-app

Pata Gonia Dec 17, 2015 · 5:05 pm #2799

I had www before my site url. I guess that was incorrect! Removed and it works. Thanks for all your help!

Patricia

Puro Support Puro Dec 17, 2015 · 5:06 pm #2800

Awesome 🙂 Really glad to hear you’ve made progress.

All the best with your site.

12 posts