Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram token missing? #8

Closed
MaluNoPeleke opened this issue Aug 19, 2022 · 2 comments
Closed

Instagram token missing? #8

MaluNoPeleke opened this issue Aug 19, 2022 · 2 comments

Comments

@MaluNoPeleke
Copy link

MaluNoPeleke commented Aug 19, 2022

I have been using this plugin including a cronjob for several months without any issues but since Wednesday I received this error message from the cronjob:

Exception: There's a problem accessing Instagram. (API access disrupted. Go to the App Dashboard and complete Data Use Checkup.) in file /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/classes/Instagram.php on line 144
Stack trace:

  1. Exception->() /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/classes/Instagram.php:144
  2. X\Instagram->fetch() /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/fetch.php:27

I then clicked on the panel link to recreate the link and allowed access as months before, also without any issues. But when the next cronjob got triggered I received this error message:

Exception: Instagram token is required. in file /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/fetch.php on line 24
Stack trace:

  1. Exception->() /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/fetch.php:24

How could I debug/fix it?
Maybe related to #7?

@samzzi
Copy link
Contributor

samzzi commented Aug 21, 2022

Hi @MaluNoPeleke it seems to me that you need to accept the Meta DUC on your account: https://developers.facebook.com/docs/development/maintaining-data-access/data-use-checkup/

@MaluNoPeleke
Copy link
Author

Thanks, this seemed to solve the issue indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants