Topic-icon Facebook API Error: Error validating access token

Active Subscriptions:

None
I am getting the following error
Facebook API Error: Error validating access token: The session has been invalidated because the user has changed the password.

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.

Part of the problem of changing domain names is that a lot of things like the Facebook Channel get invalidated.

However, when I try to re-validate the Facebook channel by changing the user name to something else and saving and then changing back to the original user name, I don't get the validation prompt on the front end to confirm the user. Is there a way I can manually do this? Or is there a way I can get the validation prompt to appear.
The topic has been locked.
Support Specialist
7 years 7 months ago #59429 by mel
It looks like Alex actually recently fixed a bug where authentication breaks when a channel is setup and the user changed the Facebook password. This fix was included in 7.0.1 and later. However, It looks like you're running 7.0.3, so it's possible we missed some corner case in testing this issue (related to a different domain).

Have you actually just tried de-authorizing the application in the user's Facebook > Settings > App area? That would probably be the quickest way to get the prompting again.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 7 months ago #59437 by webdevtim
Melissa I can't find Facebook > Settings > App area? in Face book in order to re-authorize the app. Has this changed like so much on Facebook?
The topic has been locked.
Active Subscriptions:

None
7 years 7 months ago #59439 by webdevtim
I just can't get a validation prompt.
The topic has been locked.
Support Specialist
7 years 7 months ago #59440 by mel

Melissa I can't find Facebook > Settings > App area? in Face book in order to re-authorize the app. Has this changed like so much on Facebook?

I'm sorry. I should have been clearer. Log into the Facebook profile of the user that you have set up as the channel owner. This is not a Page / Group or the Application in the Developer area, but the personal profile of the user. From there, you should be able to navigate, but let me know if you can't.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 7 months ago #59448 by webdevtim
Now I am getting this error message: Error - Facebook API Error: (#803) Some of the aliases you requested do not exist: accounts
The topic has been locked.
Support Specialist
7 years 7 months ago #59455 by mel
This error means that the page ID that is being used is not valid, so something is probably incorrect in how the channel is set up or permission to the page. Could you take a screenshot of your channel setup in the JFBConnect backend > Channel edit area? Are there any posts in the Stream Test area of the channel?

Did you ever manage to get the permission prompt for your channel owner? If that hasn't been resolved, we need to back up and address that issue still. If you have gotten past that, can you try toggling the 'Post as Page' option in the channel to No?
The topic has been locked.
Active Subscriptions:

None
7 years 7 months ago #59458 by webdevtim
No I never Managed to get a validation pop up.

But here are the issues on the Facebook Channel page:

"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." And I am not getting the validation popup.

"No Stream Data found.
Channel may be configured incorrectly. Please make sure your channel is published and review settings for any possible errors.
There may be no current posts available from the social network.
Please note, formatting may be different in your admin template, so please just verify if posts are present."

So I am not connecting to Facebook.

I cannot provide screen shots as the only image editor on this laptop Windows Picture Manager and it only saves in .bmp format.

I took Microsoft's suggestion and decided to update my Windows 7 installation, But when I got up in the morning to check how the update went, all I had on screen was a text message that there had been an unauthorized access to firmware and that the boot-sector on the RAID 5 array could no longer be located. Hopefully uploading new firmware will solve the problem, but I won't get to that today, So I will attach those screen shots tomorrow.

I am really working way beyond burn out so I apologize if I am asking about things that should be obvious. I need to go through the set up documentation again
The topic has been locked.
Support Specialist
7 years 7 months ago #59460 by mel
Understood. The channel stream will not work until that permission is set up correctly. Ignore any API warning about the accounts endpoint until this is fixed.

As I stated, the fastest way to get this to happen is to remove the application from authorization in the Channel Owner's profile. Pictures may be easier to follow.

1. Log into facebook.com as the channel owner user.
File Attachment:


2. Click on the Settings option from the menu
File Attachment:


3. On the page that loads, pull up the Apps that have been accepted by the user
File Attachment:


4. You'll see a listing like the following:
File Attachment:


5. Find the one for your Facebook Application on your website and remove it with the X button:
File Attachment:


6. Log out on your front-end and log back using your Facebook credentials for that channel owner.

7. If the prompt still does not show, then go to JFBConnect backend > Configuration > Facebook area and set the "Show 'Login Credentials' in popup" option to No and try number 6 again.

-Melissa
The topic has been locked.
Support Specialist
7 years 7 months ago #59461 by mel

This is what I get for Facebook login: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."


1. Open your Facebook application at developers.facebook.com/
2. Under Settings > Advanced, remove any items from the Whitelist settings and Save.
3. Under Products > Facebook Login, make sure the items in your "Valid OAuth redirect URIs" setting follow this format and Save any changes.
http://yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebook
http://www.yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebook
https://yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebook
https://www.yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebook

If you've tried this and are still having that error, please let me know.

-Melissa
The topic has been locked.