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

Add hashtags to graph #164

Merged
merged 5 commits into from
Aug 6, 2020
Merged

Add hashtags to graph #164

merged 5 commits into from
Aug 6, 2020

Conversation

joelmturner
Copy link
Contributor

Allows a user to query by hashtags used in posts. Works only with Graph API.

This PR solves part of the question raised in #58 except the user must be credentialed.

  • extracts hashtags from caption
  • optionally extracts hashtags from comments
  • defaults to false
hashtags: true // defaults to false

or

hashtags: {
  enabled: true, // defaults to false
  commentDepth: 10 // defaults to 3
} 

@netlify
Copy link

netlify bot commented Jul 15, 2020

Deploy request for gatsby-src-instagram rejected.

Rejected with commit 26bd992

https://docs.netlify.com/configure-builds/environment-variables/#sensitive-variable-policy

@oorestisime
Copy link
Owner

oorestisime commented Jul 15, 2020 via email

@joelmturner
Copy link
Contributor Author

Sounds good! Enjoy your holiday! 😄

Copy link
Owner

@oorestisime oorestisime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey many thanks for this feature!

Some minor things left if you would like to take care of them:

As i said nothing blocking i can take care of both myself.

@oorestisime
Copy link
Owner

Also given you worked with the graph api i would like your input for https://github.com/oorestisime/gatsby-source-instagram#instagram-graph-api-token
Did you generate the token using this approach? was there anything not working?

@joelmturner
Copy link
Contributor Author

Thank you for the feedback, I was able to get the example and readme updated.

Also given you worked with the graph api i would like your input for https://github.com/oorestisime/gatsby-source-instagram#instagram-graph-api-token
Did you generate the token using this approach? was there anything not working?

I followed the directions from the readme a while back (sometime last year, possibly before the latest updates to this section) and had a lot of trouble getting it working at that time. I tried a bunch of different things, but, I don't remember what it was that got it to start working correctly.

@oorestisime oorestisime merged commit 0636aa3 into oorestisime:master Aug 6, 2020
@oorestisime
Copy link
Owner

Thanks a ton for the contribution :)

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

Successfully merging this pull request may close these issues.

2 participants