Instagram Access Token - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Instagram Access Token

S

steve

SP Page Builder 3 years ago

When attempting to generate an access token on the SP Page Builder Pro using the Facebook App ID and App Secret, I get the following error message: "Required "app_id" key not supplied in config and could not find fallback environment variable "FACEBOOK_APP_ID" "

Using Joomla 4.06 Gazette Template

0
21 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #54859

Hello steve

Please follow my tutorial and this forum thread for solution.

Best regards

0
S
steve
Accepted Answer
3 years ago #55076

Hi, I tried using your instructions but I am now getting this message: 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 added the domain, but it is not working.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #56613

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

0
I
infini
Accepted Answer
2 years ago #98592

steve, did y'all find a solution to the issue? we having the same issue.

0
I
infini
Accepted Answer
2 years ago #98594

well.. i think i downgraded to SP Page Builder v4.0.5, and I got the instagram to work now. appears v4.0.6 broke it.

0
Michael
Michael
Accepted Answer
2 years ago #98616

Hi, I have the same problem. Downgrading to 4.0.5. solves the problem? -Michael-

0
I
infini
Accepted Answer
2 years ago #98663

it's kind of a three-fold problem for me. v4.0.6 absolutely broke it for me, the facebook login popup dialogue was not coming up with v4.0.6

when i installed sppb v4.0.5, the facebook window dialogue showed up again. although that was not my entire problem.

i actually had to recreate the facebook app completely, and lastly, after the facebook logging in and connection, it didn't save the credentials for some reason.

i had to pop into phpmyadmin to update the table with the generated access token and igId (instagram ID), its inside the XXXX_extensions table. it may be easiest to download the SQL table to find which "id" it is... search the table for the "app_id" the facebook app id.. you should find something like this.

<10>{"production_mode":1,"gmap_api":"","fontawesome":1,"disable_google_fonts":0,"lazyloadimg":0,"lazyplaceholder":"https:\/\/res.cloudinary.com\/joomshaper\/image\/upload\/v1582107175\/placeholder.svg","disableanimatecss":0,"disablecss":0,"disable_og":0,"fb_app_id":"","disable_tc":0,"joomshaper_email":"[email protected]","joomshaper_license_key":"our_license_key","ig_token":"{\"app_id\":\"our_app_id\",\"app_secret\":\"our_app_secret\",\"accessToken\":\"OUR_ACCESS_TOKEN\",\"igId\":\"OUR_IG_ID\"}"}

we had to update the "OUR_ACCESS_TOKEN" and "OUR_IG_ID" with the provided in the popup.

results may vary.. hope this helps.. i know its a pain. but it's what we have right now.

1
GC
Georgios Chatzigeorgiou
Accepted Answer
2 years ago #99677

Hello, i followed your tutorial and pinned post but i cannot get it working. page builder vesrion 4.0.7

i get that Required "app_id" key not supplied in config and could not find fallback environment variable "FACEBOOK_APP_ID"

0
NA
NordTasmim AB
Accepted Answer
2 years ago #104014

Thank you Infini, i followed your instructions and it worked for me :)

-1
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #104896

Hello guys,

Please go to SP Page Builder settings from Global Configuration and set your Facebook APP ID and Access Token. It will work then. There is a bug setting on SP Page Builder -> Get Started -> Settings. It will be fixed soon.

Best regards

0
BKeeper
BKeeper
Accepted Answer
2 years ago #108391

Hi Guys,

I am confused.... Are you talking about the Token or the secret? What will be used?

At developers.facebook.com I have created the following: Instagram-App-ID Instagram-App-Secret Instagram-Access Token

But in SPPB (I use 4.0.8) I am prompted to enter the "App ID" and the "App Secret" and there is a button to "Generate Token" who will not work.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108394

Hello Imkerverein Hauenstein e.V.

I have 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. You may also follow this forum solution about this issue.

Best regards

0
I
infini
Accepted Answer
2 years ago #108489

Imkerverein Hauenstein e.V.

I cannot get v4.0.8 to work either, I have to install old version of SP Page Builder to generate access token. The old version v4.0.5 works for me.

On the other hand, I am not sure JoomShaper will send that to you .

0
I
infini
Accepted Answer
2 years ago #108490

I really appreciate Ofi Khan's tutorial, but something somwhere SP Page Builder v4.0.6+ , the Instagram token generator does not always work. and its a bug somewhere in sp page builder.

when joomshaper released v4.0.8 they said they fixed all known bugs.. this instagram bug is not even on their radar as an issue.. very sad life for instagram implementors..

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108586

infini,

What is the issue on the Instagram Access Token? Please share in details.

0
I
infini
Accepted Answer
2 years ago #108643

Hey Ofi Khan,

We do all of your steps and do everything right, only thing left after creating facebook key and secret, is to click on the generate instagram token right? something like that?

well, when we get to that point to generate the token, nothing happens, or if it pops up, nothing loads, or says error. that is.. when sp page builder version 4.0.6+ is installed..

when we install sp page builder version 4.0.5, the instagram token pops up and gets generated, however, when we click save and close, it does nothing.

at that point, at least we have a token, we copy that token, and manually insert it into the database via phpmyadmin, then the instagram gallery finally works after that much work.

on top of that, the instagram token get broken from time to time randomly, so we need to go in painstakingly again to get it all setup again with the process above.

if you want access to the website that has this issue, so you can see, i am willing to let you in to take a look, just let me know, and i'll put it in the hidden content. thank you for your question, Ofi Khan!

0
BKeeper
BKeeper
Accepted Answer
2 years ago #108674

Hi Ofi Khan,

I absolutelly agree with infini. That was the reason for my question. It doesn't matter what you enter. Nothing happens when you click on "Generate Token".

0
GC
Georgios Chatzigeorgiou
Accepted Answer
2 years ago #108687

Ofi Khan i really think you do not understand our requests here.

page builder vesrion 4.0.7

i followed your tutorial, but i get the error when i click generate token (https://files.fm/u/k635zdjng)

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110859

Hello guys,

We have figured out the issue. If you input the token in SP Page Builder -> Dashboard -> Settings, then sometimes it does not work. Please go to SP Page Builder settings from Global Configuration and set it there. Then it will work. We are working on this and will fix it in the upcoming release.

This will be the link where you have to insert the Instagram Token.

administrator/index.php?option=com_config&view=component&component=com_sppagebuilder

There is another concern that you might have faced. The token needs to be regenerated after 60 days. This is a limitation from Facebook but we are working to improve this too. We will try to regenerate the token from the component itself.

Best regards

1
I
infini
Accepted Answer
2 years ago #110980

THANK YOU FOR THE UPDATE, OFI KHAN!

Absolute progress on finding an issue, and also recognizing limitation with token regenration

I have asked the question about the token expiring so many times, and no admittance to the issue, but here I see you have addressed it in at least acknowledging an issue.

Appreciate this update so much!

We hope you guys can figure out the auto-regenration of the token, i see so many other apps out there can already do this. but, we want to stick with sp page builder!

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #111035

You are welcome. Thanks for the appreciation 😊

Hopefully, these issues will be gone soon with the next update.

0