Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJared Massey
12,923 PointsIt looks like giphy no longer provides an open API, is that correct?
In order to follow along, do I need to setup an account with them?
4 Answers
danielperez
Full Stack JavaScript Techdegree Student 15,993 PointsYes, I do believe so....
you setup an acct, it's free... when you login
....you can create an app, which is also free
give the app whatever name for the app is fine....you can change it later
this gives you a api key
then while logged in
.. you get the Giphy Developers header menu at the top of the site
you can use the API Explorer,
which uses a dialog to help you piece together the api-key with giphy url
.... to make sure you can get data using you new api-key
after that, just copy the working api call url into the code
should work
danielperez
Full Stack JavaScript Techdegree Student 15,993 PointsAlso, as you follow the course...
when using different Giphy endpoints ... trending... search
check the API Explorer to make sure the search url query string is not different from the one in the video
Jared Massey
12,923 Pointsthanks
Ian Ostrom
Full Stack JavaScript Techdegree Student 10,332 PointsThe demo API key seems to be working again, though it is not mentioned in the new documentation.
Chris Grazioli
31,225 PointsYeah I ran into the same issue with the api key. fetch('http://api.giphy.com/v1/gifs/trending?api_key=YOUR API KEY')
Jared Massey
12,923 PointsJared Massey
12,923 PointsThanks. I was trying to avoid setting up yet another account somewhere, but it seems that's the only way.