Giter Club home page Giter Club logo

bnomei / kirby-instagram-api Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 2.0 35 KB

Kirby CMS User-Field, Tag and Page Method to access Instagram API Endpoints. This is a boilerplate to create your own Instagram embeds.

Home Page: https://bnomei.onfastspring.com/kirby-instagramapi

License: Other

CSS 4.59% CoffeeScript 9.18% PHP 86.23%
authentication endpoints images instagram instagram-api kirby-cms kirby-panel kirby-plugin kirby-snippet kirby-tag oauth2 signed-requests

kirby-instagram-api's Introduction

kirby-instagram-api's People

Contributors

bnomei avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

kirby-instagram-api's Issues

other endpoint than users/self/media/recent

I tried to set another endpoint like: tags/{tagname}/media/recent.

But know I get the message, that I have to re-authorize with scope=public_content. Somehow I didn't get it to work. I tried it, with adding "scope=public_content" to the authorize link.

How can I use other endpoints? Thanks for your help..

And here the complete message:
Response HTTP Status Code : 400 Response HTTP Body : {"meta": {"code": 400, "error_type": "OAuthPermissionsException", "error_message": "This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."}} // show error message this plugin provides echo brick('code', $result);

Allow user to handle cURL errors

Today if the curl fails, the plugin does this:

die('Error: "' . curl_error($ch) . '" - Code: ' . curl_errno($ch));

This is an issue because as soon as something bad happen, the page stops rendering and the user experience gets pretty bad.

It would be great if the plugin could throw an exception instead so it would be possible to catch it to do some graceful degradation when it happens.

Send Authorization-Email

Hello,

when I send in the panel the Authorization Mail I get an error: error Bad request
What am I doing wrong ?

Screenshot?

Because you have a field, I think you could have more people using this if you have a screenshot.

Possible to fetch images without using Kirby user accounts

I started implementing this plugin, but hit this roadblock when I realized that the Instagram connection info must be tied to a Kirby user account. Is it possible to use this plugin without specify a Kirby user account?

Wouldn't it be possible to save all the necessary connection info (user id, secret, token etc) in the config file, instead in a users settings?

In my case I don't want different users to be able to fetch users from their Instagram account. I just want to display my clients Instagram images on their site. Maybe it is on the roadmap?

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.