Topic-icon Issue setting up a Facebook channel

Active Subscriptions:

None
6 years 4 weeks ago #63623 by davidsoens
When setting up a channel for a Facebook page, after selecting the channel owner, I get this message for the Facebook Page Attribute: The selected user has not granted the 'manage_pages' permission. Please have them login on the front-end of the site and accept the correct permission. How do I fix that? The Facebook account does have admin permissions to the facebook page.
The topic has been locked.
Support Specialist
6 years 4 weeks ago #63626 by mel
Save the channel in the backend. Then, on the front-end of your website, use the FB login button from the SCLogin module to log in with the Facebook credentials for that FB user. You should then be prompted for these permissions. *Do not use Joomla credentials on the front-end or you will not get the permission prompt.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 4 weeks ago #63628 by davidsoens
Thanks for the information. When I log in with Facebook credentials a window pops up and disappears in a fraction of a second. Maybe that window has the permissions? How do I get the window to stay? I noticed a new user was created with a username starting with "FB_."
The topic has been locked.
Active Subscriptions:

None
6 years 3 weeks ago #63631 by davidsoens
After saving the Facebook user as the channel owner I am getting a different response when logging into the frontend as the Facebook user:

Error: Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

I have the website domain in the app's domains. Do I need to enter another domain?
The topic has been locked.
Support Specialist
6 years 3 weeks ago #63634 by alzander
There's a couple issues here.. I'll address both:

Thanks for the information. When I log in with Facebook credentials a window pops up and disappears in a fraction of a second. Maybe that window has the permissions? How do I get the window to stay? I noticed a new user was created with a username starting with "FB_."

You should be logging in on the front-end with the Facebook user you saved the Channel for. From what you describe above, a *new* user was created. If that's the user that should be the owner of the channel (and hence the admin of the FB page), please set that new user as the owner of the channel. Then, log out and log back in on the front end with those FB credentials again. Then you should see the prompt.

The permission is required for your website to post to the Page on the user's behalf, just so you know. Your Facebook account owns the page, but the app for your site needs to have permission from that owner to post to the Page.

Error: Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

I have the website domain in the app's domains. Do I need to enter another domain?

You should just need the domain for the app. The biggest issue here is missing sub-domains. If your site is example.com, make sure to enter both example.com and www.example.com (assuming www works for your site). Similarly, make sure any other subdomains you may use to access the site are listed there. Autotune *should* set these up automatically, but you may need to fine-tune some sub-domains for your site.

If that still shows the error, let us know and we'll help further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 3 weeks ago #63638 by davidsoens
Thanks Alex, I have had success setting up a Facebook channel with 2 out of 3 sites. The last one still has the domain error when logging into frontend even though the site domain is listed in the app with and without www. Autotune shows no errors. What else should I try?
The topic has been locked.
Support Specialist
6 years 3 weeks ago #63641 by alzander
Hmmm.. that's strange. I see 3 sites you've run autotune on that start with a 'b' an 'n' or a 's'. Which one are you having issues with? Don't want to post the full name in case you'd rather not have it public.

Either way, one other thing to check is to try and authenticate with Facebook using the FB user that's an administrator of the App (not necessarily the Page). Many times, if there's a configuration error, a more verbose and detailed error message will be displayed to the admin explaining what's wrong... though the description above is pretty detailed as to the problem.. so that may be it.

The only other thought is that something else is loading the Facebook library on your site with a different app id (or none at all). If you let me know what domain to look at though, I should be able to help narrow that down quickly.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 3 weeks ago #63646 by davidsoens
Thanks Alex. It's the site starting with a "b" that has the error. It is also different than the other two in that I am attempting to set up autopost in EasyBlog. Hope that helps!
The topic has been locked.
Support Specialist
6 years 3 weeks ago #63650 by alzander
I'm unsure what's going on. I just went to the /blog page of that site, clicked the padlock icon and then logged in using Facebook. I didn't get any error message or run into any issues doing so.

Can you confirm that you're still getting the App Domain error you mentioned above? If so, try:
* Closing your browser and re-opening it. That should clear your caches, or you can use the "Clear Cache" option in your browser.
* Disable JCH Optimize, temporarily. That may be caching something too heavily for you and not registering changes you've made to make things work.

Again though, things seem to be working for me, so just need to get to the bottom of why you're having issues and I'm not.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 3 weeks ago #63655 by davidsoens
I'm still getting the domain error, even after trying clearing the browser cache and disabling the plugin. I tried a different browser too. The error is at this URL: www.facebook.com/dialog/oauth?client_id=...ions%2Cpublish_pages

It appears that the correct domain is in the URL, so I can't figure why it gives that error.

Since I haven't given the permissions, there is no Facebook Page in the channel settings.
The topic has been locked.