Related to the use of the Giphy API. Consider also the tag [giphy] if your question isn't about the API.
Questions tagged [giphy-api]
75 questions
6
votes
2 answers
Is it recommended to keep a Giphy API key secret?
I'm using Giphy's API and currently have a development key. I am looking to deploy my site but don't know whether it is a public facing key or a private one, and cannot find an answer online nor after asking them directly.

Alex Yeates
- 93
- 6
4
votes
1 answer
displaying a lot of gifs in collectionview
In my app I want to show gifs from giphy. The fetching and everyting is no problem, but I don't know what's the best way to display for example all trending gifs.
I have a collectionview which should display all gifs with this code:
func…

user2529173
- 1,884
- 6
- 30
- 43
3
votes
1 answer
How API Rate limits works in giphy?
I'm using giphy API for get GIF stickers but I'm kind of confusion with giphy API guide on rate limiting mention over here:
https://developers.giphy.com/docs/#response-codes
I will get 429(Response Code) when my API key rate limits exceed. I have to…

Pinal Patel
- 122
- 1
- 16
2
votes
0 answers
Error when fetching Giphy Api using discord.js
[beginner here]
I am currently using "@giphy/js-fetch-api" for some reason when executing my command to fetch the gifs, I get back "Uncaught Error: @giphy/js-fetch-api: Error fetching" the code's purpose to allow people to search for random gifs via…

Pasta Pirate
- 23
- 4
2
votes
1 answer
Having trouble using the ajax call with my giphy api
I am very new to using jQuery and js. What I'm trying to do with the ajax or get method is that I want to type in any keyword(such as maine coon for example), click submit and be able to see a page of maine coon gifs. The api code I have is from…

Iroos
- 29
- 3
2
votes
2 answers
How to wait for fetch to complete before rendering page in React.js
In this React component, I'm trying to fetch data from the GIPHY API and render it in another component. The fetch is working correctly, but this.state.gifs.map returns an error because it runs before the fetch is complete and the state is set. I…

Tomas Engquist
- 23
- 1
- 1
- 3
2
votes
1 answer
How do I let a bot send a GIF via Giphy API correctly?
So, I was trying to make a code that makes the bot sending GIFs, but I totally had no idea that what is the actual solution for the bot to not make errors.
Currently hosting my bot on Glitch using hello-express, and using Discord.js to code the…

Raymond
- 51
- 1
- 2
- 16
2
votes
1 answer
For in loop is showing the img tag instead of the actualy Giphy gif
I'm trying to make a giphy clone and I want to display six of the trending gifs at the moment. However, when I run the code it seems to work fine in the sense of being able to grab the image source from the response data but the actual gif is not…

PhysicsLemur
- 83
- 1
- 1
- 9
2
votes
3 answers
Unable to call GIPHY API
I have a text box and a search button. Based on user input, I want to query Giphy api to fetch matching Gifs. but my ajax call always going to error.
Can anybody help me,
$('#button2').click(function() {
var srchParam =…

Arpita Dutta
- 291
- 7
- 19
2
votes
1 answer
Why do I get a HTTP Error 403 when making a request to the Giphy API?
I am using urllib2 to make requests to the Giphy API and I am using the public API key. The exact same code is working fine on Google App Engine, but when I try executing it with Pythonanywhere I get "HTTPError: HTTP Error 403: Forbidden". I already…

jannikko
- 43
- 5
1
vote
1 answer
Discord.py Rewrite Giphy Cog Error: Unclosed Connector
I'm trying to build a Giphy cog for my discord.py bot and it's throwing the following error
Unclosed client session
client_session:
Unclosed connector
connections:…
user14267797
1
vote
2 answers
Getting an undefined object before the object is populated
So I'm building just a small web app that takes data from the giphy API and then displays it.
Bear with me. This is a long one.
export const fetchTrending = async () => {
try {
const {data:{data}} = await…

HASEEB Ahmed
- 109
- 3
- 12
1
vote
1 answer
How can I search Giphy's GIF live with React.js?
Based on the official Giphy demo(CodeSandBox), I would like to create a live search function for Giphy GIFs.
And below is a demo of it.
search demo(CodeSandBox)
It holds the keyword as state and passes the keyword state to the search method of…

Jay White
- 315
- 1
- 3
- 10
1
vote
3 answers
Trying to display a GIF from Giphy API using React hooks
I'm trying to fetch a GIF with the Giphy API and have it display on the page using React hooks. It's fetching an object not the url, so all the page shows is the leaf logo.
I've tried setting the state to the GIF url (as shown in code) but it still…

EGarcia
- 17
- 6
1
vote
1 answer
Is there a way to delay sending a Discord message after something has successfully loaded?
So, I´ve tried to create a RichEmbed Message which should be executed, right after the User has left the Discord. In this RichEmbed should´ve been a random GIF from giphy, which I´ve created in the getGiphyPic() function using this node module:…

Hiraku
- 15
- 1
- 4