-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[1.0] gatsbygram gravatar #792
[1.0] gatsbygram gravatar #792
Conversation
Deploy preview ready! Built with commit cebc06b |
Deploy preview ready! Built with commit cebc06b |
The problem with this scrapping method that I haven't got a lot of pictures as before… I think I can do better with a smart merge with previous method |
Oh nifty! I didn't run across the media endpoint when building gatsbygram. That'd allow us to add all the comments, etc.! It does seem you can paginate to get more photos http://stackoverflow.com/questions/34589096/instagram-media-endpoint-paging |
Nice, I'll try this magic attribute :) (I search into instragram doc API but I've found nothing on this unauth route ^^) |
4f63f16
to
2eedeb6
Compare
@KyleAMathews Pagination works as expected :) It's a good base for futur comments :-p (should resolve #791 before maybe) |
Looking great! One thing that needs fixed still is right now you're only downloading images that are 640x640 instead of the max sized image that's available. |
I can replace |
Yup! That's all I did in my original script. Thanks for the updates! I'll merge this in now. I'm going to merge in the Redux PR later so we'll be set to work on improving parsers (or transformer as I'm thinking of calling them) plugins. |
Just for fun and test a little bit gatsby 1.0 😉
As @KyleAMathews asked for help on
gatsbygram-case-study/index.md
, voilà!I'm using another method to scrape instagram (that permit to have more data) and replace gravatar by retrieve picture url, that's it!