Code Monkey home page Code Monkey logo

beekuty's Introduction

BeeKuty

How to deploy

Push your changes to main.

Instagram authentication

Note : You can store your variables in a .env file, it is git ignored.

Get a temporary token:

  1. Go to https://developers.facebook.com/apps
  2. Click on "Instgrm pour BeeKuty"
  3. Scroll down
  4. Click on Paramètres in the "Instagram Basic Display" card
  5. Find the "ID de l’app Instagram" and "Clé secrète de l’app Instagram"
  6. Export them in INSTAGRAM_APP_ID and INSTAGRAM_APP_SECRET environment variables
  7. Run ./scripts/get_access_token.rb

Get a long-lived token:

  1. Go to https://developers.facebook.com/apps
  2. Click on "Instgrm pour BeeKuty"
  3. Scroll down
  4. Click on Paramètres in the "Instagram Basic Display" card
  5. Find the "Générateur de token utilisateur(ice)" section
  6. Create a new one or find your existing one
  7. Export it in INSTAGRAM_ACCESS_TOKEN
  8. Eport INSTAGRAM_APP_ID and INSTAGRAM_APP_SECRET

Update the gallery photos

  • Connect to the Instagram account beekuty with Facebook
  • Get the app ID and secret in .env or:
    1. Go to https://developers.facebook.com/apps
    2. Click on "Instgrm pour BeeKuty"
    3. Scroll down
    4. Click on Paramètres in the "Instagram Basic Display" card
    5. Find the "ID de l’app Instagram" and "Clé secrète de l’app Instagram"
  • Export them in INSTAGRAM_APP_ID and INSTAGRAM_APP_SECRET environment variables
  • Run ./scripts/get_access_token.rb and follow the given instructions
  • Run ./scripts/update_gallery_data.rb

Troubleshoot

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.