Skip to content

Add hashtags to graph - #164

Merged
oorestisime merged 5 commits into
oorestisime:masterfrom
joelmturner:add-hashtags-graph
Aug 6, 2020
Merged

oorestisime merged 5 commits into
oorestisime:masterfrom
joelmturner:add-hashtags-graph

Conversation

@joelmturner

Copy link
Copy Markdown
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

netlify Bot commented Jul 15, 2020 •

Copy link
Copy Markdown

Deploy request for gatsby-src-instagram rejected.

Rejected with commit 26bd992

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

@oorestisime

oorestisime commented Jul 15, 2020 via email

Copy link
Copy Markdown
Owner

@joelmturner

Copy link
Copy Markdown
Contributor Author

Sounds good! Enjoy your holiday! 😄

@oorestisime oorestisime left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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