tedleyem / whovisionspresents.com

site for https://whovisionspresents.com
MIT License
1 stars 0 forks source link

Instagram Feed #9

Open tedleyem opened 5 months ago

tedleyem commented 5 months ago

This site needs a page that will share photos from Instagram in a grid-like fashion but not make it look like it's coming from Instagram.

Sylar-codex commented 5 months ago

How do I get the link to the Instagram feed?

tedleyem commented 5 months ago

Here is a link to the whovisions IG account https://www.instagram.com/whovisions

This should be a public account so scraping the data should be done with ease. I will look into adding keys to github to use for connecting to the account and getting more insight if thats needed.

Sylar-codex commented 4 months ago

Here is a link to the whovisions IG account https://www.instagram.com/whovisions

This should be a public account so scraping the data should be done with ease. I will look into adding keys to github to use for connecting to the account and getting more insight if thats needed.

How would I be able to get the keys? Would still need the access keys to the account to get all the media post.

tedleyem commented 4 months ago

I will add them to this repo that you will be able to get with github variables. I think a good example of this can be found in this link.

https://stackoverflow.com/questions/62240661/embed-github-secret-in-react-and-deploy-to-github-page-revealed-my-personal-acce

Sylar-codex commented 4 months ago

I’ve started to work on it though, structuring the layout and all of that. While trying to figure out github secret at the same time

Sylar-codex commented 4 months ago

When would the secret keys be available for me to use?

tedleyem commented 4 months ago

There is now a github environment variables attached to this project called IG_PIX_TOKEN that you can use for authentication to the acconut and pulling images for the IG account.

If that doesnt work the api's used here might be of some usage as well.

https://rapidapi.com/collection/instagram-apis

sorry for the delay

tedleyem commented 4 months ago

More useful information related to using metas api https://developers.facebook.com/docs/instagram-api/getting-started/

tedleyem commented 4 months ago

I dont know if the authentication token will help with just getting IG photos. It looks like the general usage is for sharing, posting, or using meta's messaging platform. If we could find a way to just scrape the images and share them on the page that would be ideal.

Sylar-codex commented 4 months ago

You can also get post I think, according to what the doc said, as soon as I took up this project, took some time to go through the documentation.

tedleyem commented 4 months ago

I am trying to spin up your branch using docker compose and get a failure in the build process. ERROR in [eslint] Failed to load plugin 'n' declared in '.eslintrc.js » eslint-config-standard': Unexpected token '?'

are you able to build this project using docker-compose or test the changes in this branch?

Sylar-codex commented 4 months ago

Yes I did test it locally and ran into that same error, I had to delete package-lock.json. And ran npm install again.

tedleyem commented 4 months ago

I will test today.