Giter VIP home page Giter VIP logo

kirby3-instagram's People

Contributors

samzzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

malunopeleke

kirby3-instagram's Issues

Instagram credentials are not stored in site.txt on server

When tested on local everything seems to work perfectly. However, when placed on a testing server, the Instagram credentials are not saved in the site.txt file, only the refreshed date:

Instagramauth: 

----

Instagramtoken: 

----

Instagramtokenrefreshed: 2022-08-08

The test server is running the same 3.7.0.1 Kirby instance and is running on PHP 8.1. Any idea why this is not working?

Error message on running cron job

Hi,

Sorry me again!

I am getting the following error when running the cron job to fetch the instagram posts:

Whoops\Exception\ErrorException: unlink(/home/xxxxxx/public_html/assets/instagram/media17860440146772998.jpg): No such file or directory in file /home/xxxxxx/public_html/site/plugins/kirby3-instagram/classes/Instagram.php on line 188
Stack trace:
1. Whoops\Exception\ErrorException->() /home/xxxxxx/public_html/site/plugins/kirby3-instagram/classes/Instagram.php:188
2. unlink() /home/xxxxxx/public_html/site/plugins/kirby3-instagram/classes/Instagram.php:188
3. X\Instagram->fetch() /home/xxxxxx/public_html/site/plugins/kirby3-instagram/fetch.php:27

It looks like there is a slash missing on the url between media and the filename. Oddly I didn't have this issue when running the site locally, it is only cropping up on the live site.

If you have any thoughts, or ideas of things to try, that would be great.
Thanks!

Can't access Notion page

Hello and thank you for taking the time to build this Instagram plugin for Kirby. I'm trying to get this up and running. There are lots of hoops to jump though. Your instructions (under 'Authenticate the instagram user and request User token') provides a link to a Notion page, but I cannot access it. I get a message that states, "You do not have access to GeNx. Please contact an admin to add you as a member." Please advise.

Error following authentication

Hi,
I think everything is working correctly with the plugin, I have done a test fetch which worked. However, when the authentication triggered in Kirby's panel was completed I got the following error:

Whoops\Exception\ErrorException thrown with message "Cms\Site::panelUrl() has been deprecated and will be removed in Kirby 3.8.0. Use $site->panel()->url() instead."

Stacktrace:
#9 Whoops\Exception\ErrorException in /home/***/dev/kirby/src/Cms/Helpers.php:29
#8 trigger_error in /home/***/dev/kirby/src/Cms/Helpers.php:29
#7 Kirby\Cms\Helpers:deprecated in /home/***/dev/kirby/src/Cms/Site.php:696
#6 Kirby\Cms\Site:panelUrl in /home/***/dev/site/plugins/kirby3-instagram/classes/Instagram.php:86
#5 X\Instagram:getToken in /home/***/dev/site/plugins/kirby3-instagram/index.php:21
#4 Kirby\Http\Route:{closure} in [internal]:0
#3 Closure:call in /home/***/dev/kirby/src/Http/Router.php:131
#2 Kirby\Http\Router:call in /home/***/dev/kirby/src/Cms/App.php:337
#1 Kirby\Cms\App:call in /home/***/dev/kirby/src/Cms/App.php:1256
#0 Kirby\Cms\App:render in /home/***/dev/index.php:5

I am running Kirby 3.7.1

Undefined constant "X\DS"

After upgrading to Kirby 4 I have a problem with the Kirby3-Instagram Plugin by @genxbe:

Error: Undefined constant "X\DS" in /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/classes/Instagram.php:17
Stack trace:
#0 /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/fetch.php(27): X\Instagram->__construct()
#1 {main}
Error: Undefined constant "X\DS" in file /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/classes/Instagram.php on line 17
Stack trace:
  1. Error->() /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/classes/Instagram.php:17
  2. X\Instagram->__construct() /var/www/virtual/peleke7/peleke.de/site/plugins/kirby3-instagram/fetch.php:27

image

How to solve it?

No fields yet

I have just installed and followed your plugin instructions but in the blueprint field I see only the message "No fields yet".
I am using Kirby 3.6.0 alpha. Could that be the problem?

instagramLink blueprint

Hoping you can help me through some setup of this plugin (which I greatly appreciate you taking the time to build). With so many hoops to jump though I'd like to confirm a few things...

Your instructions state, "find a place to add the instagramLink blueprint". What does that mean? Is this just referring to me adding "linkInstagram" to one of my page blueprints. For example, I want to feature a Instagram feed on my home page so I'll add this to my home.yml file. Please confirm.

Instagram token missing?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.