Solved SP Page Builder

Instagram Access Token

Asked by Luca 1 year ago Last activity 1 year ago

trying to regenerate the token get this error:
"Facebook SDK returns an error Cross-site request forgery validation failed. Required param "state" missing from persistent data."
can you help me to solve?
L.

Accepted answer

Marked as the solution
AverageJoe

For anybody getting the error "Facebook SDK returns an error SSL certificate problem: unable to get local issuer certificate," I was able to solve this by clearing my joomla system cache. Hope that helps!

Ofi Khan Staff

Hello AverageJoe,

Thank you for sharing the trick. Hope that it will help the community.

Best regards

Luca Asked this

hy AverageJoe,

Do you mean the system cache from the Joomla admin?

Yhanks in advance, Luke

14 more replies

Ofi Khan Staff

Hello Luca,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

Please follow this documentation. I have also made a tutorial on How to setup Instagram Gallery Addon. Please follow the steps in the tutorial. Make sure that you have checked the additional steps in the description too. 

Also, check that if you have System - HTTP Header plugin enabled, then use this setting.

https://prnt.sc/kCMqiwIzK4mm

Best regards

Luca Asked this
1 year ago · edited

Hy...
yes i had followed all instruvtion provided and i've still enabled http headers ad described.
everything was working fine until a few days ago...

Perhaps an error with the SSL certificate on the domain server?
I'll check further...

one question: i need Web Service CORS enabled?

Ofi Khan Staff

Good observation. Please check the issue after enabling CORS. Also, check this plugin settings.

https://prnt.sc/kCMqiwIzK4mm

You must select same origin allow popups.

Luca Asked this

now i get this error:
"Facebook SDK returns an error SSL certificate problem: unable to get local issuer certificate"

:(

Luca Asked this

hy,
I contacted the hosting provider and checked the SSL certificate.
now they tell me:
"The problem is probably related to how SP Page Builder (the Joomla! plugin) manages the internal session.
I see that you are using PHP version 8.3 on the circebuonacucina.it website.

PHP 8.3 has changed some internal functions related to sessions and cookie management.

Outdated versions of SP Page Builder are no longer able to save the session state correctly, failing the CSRF check and giving the error encountered.

Proceed to the backend to update SP Page Builder to the latest released version: many bugs on Instagram and state have been fixed in this regard.

Alternatively, you can try temporarily downgrading the PHP version to 8.2 or 8.1 (PHP icon in the site management panel), thus avoiding the update."

My problem now is that:

  • I already have the latest version of SP Pagebuilder.
  • I tried downgrading PHP to version 8.1.

Nothing has changed; it still doesn't work.

Ofi Khan Staff

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

Ofi Khan Staff

Sorry, the credentials you provided do not match. Please check and share it again.

Luca Asked this

you're right, sorry
i forgot the first S in the username...

Log in to reply.