Questions tagged [giphy-api]

Related to the use of the Giphy API. Consider also the tag [giphy] if your question isn't about the API.

75 questions
0
votes
2 answers

My Javascript page is not getting data from giphy API

I have linked the Giphy API into my app and cannot seem to figure out why the call is not working. I thought perhaps it was my key but I inserted a public key and that still did not work. Am I calling the API incorrectly? I did check the…
lea Calderon
  • 21
  • 1
  • 1
  • 3
0
votes
1 answer

Giphy API: Setting New Source Attribute for Random GIFs with jQuery

I'm so close! and a bit confused...so tell me if I'm over-complicating things. I'm using the public Giphy API to pull up a random gif (tag=dog in example below) and want to cycle through new ones each time a button is clicked. In the example below,…
Ben Thompson
  • 37
  • 1
  • 6
0
votes
1 answer

Can't loop through Giphy API Array

I have a CodePen utilizing the GIPHY API that calls GIFs based off user input. It works except it only calls the first item in an array. I realize because this is calling the first item in an array. I tried replacing 0 with i and attempted a for…
user5854648
  • 1,029
  • 2
  • 11
  • 36
0
votes
1 answer

How do I display all Giphy API search result images?

My Giphy API call is successful but now I'm trying to get all of the images to display instead of just the first one. I'm sure there is a loop needed in here but I'm not sure how/when to make that happen. Please see below for my HTML & jQuery…
0
votes
1 answer

Javascript/API - Search result not showing

I'm new to working with API's. My problem: Looks like my code is incorrect somewhere. Searching isn't working. How can I get a specific search result that the user searches for? GitHub link to the Giphy API is here:…
spidey677
  • 317
  • 1
  • 10
  • 27
0
votes
2 answers

GIPHY API - How do I search for Giphs?

My problem: Looks like my code is incorrect somewhere. Searching isn't working. I'm new to working with API's. How can I get the specific search result that the user searches for? GitHub link to the Giphy API is here:…
spidey677
  • 317
  • 1
  • 10
  • 27
0
votes
1 answer

Giphy API - How do I display image from search result?

GitHub link to the Giphy API is here: https://github.com/Giphy/GiphyAPI. My problem: Since I'm new, I'm kinda stuck right now. I'm getting random gif's from the giphy API and not the specific search result the user wants. How can I get the specific…
spidey677
  • 317
  • 1
  • 10
  • 27
0
votes
3 answers

How do I save a GIF from a url?

I'm using Giphypop to retrieve the url of a gif. I saved this url in a variable for convenience, but now I need to somehow save the gif to file. But I'm getting an error. I think this can be reopened. My problem is Windows not opening the gif file…
whatwhatwhat
  • 1,991
  • 4
  • 31
  • 50
0
votes
1 answer

Rails : get json value in hidden_field form (giphy api)

I am using the Giphy search API to let my users search for gifs and let them add gif. Here is simplified part of my code to make it works : _Form.html.erb <%= form_for Task.new do |f| %> <%= f.hidden_field :gif, id: "GifUrl", value: "" %>
0
votes
1 answer

Where can I add a second on click function that targets the var "giphyImage"?

I have tried: inside the for loop, inside the .done function but outside the for loop, and before and after the button function end. I'm wanting to be able to run a function on the click of the giphyImage. Below is the code I am trying to insert…
0
votes
1 answer

Giphy API - can't figure out how to call the data once I've made the AJAX call

I am currently working on a simple website that grabs random gifs using the Giphy API (https://github.com/Giphy/GiphyAPI). Now I'm just practicing, so I am trying to make a very bare bones website. My issue is that I cannot figure out how to…
Leia_Organa
  • 1,894
  • 7
  • 28
  • 48
0
votes
1 answer

Pass multiple values to single parameter retrofit2

I'm trying to pass multiple Values to a SINGLE parameter for example : http://api.giphy.com/v1/gifs?api_key=dc6zaTOxFJmzC&ids=feqkVgjJpYtjy,7rzbxdu0ZEXLy I tried the following : @GET("gifs") Call
Aldrich M
  • 5
  • 4
-1
votes
1 answer

GIPHY Favorites to Google Sheets?

Does anyone know of a way to import GIPHY Favorites into Google Sheets? I hate the fact that I can't share my favorites with anyone else, and that they're completely private. Wondering if there's a way to use the GIPHY API to import all of them into…
-1
votes
1 answer

discord bot send metadata and gifs and this 5 times

I tried to make a Bot that sends gifs from giphy. I made it with python and Giphy Core Client for Python. So if someone type /OwO Giphy Spongebob It sends a random spongebob or some other memes. The problem is that it send the metadata and gif 5…
-2
votes
2 answers

My discord.js bot sends multiple gifs instead of one. How do I fix this?

I'm trying to make this command on my discord bot where it sends a random kirby gif using the giphy api. However, I only want it to send one, but it sends multiple. This is the code: client.on('message', message => { if (message.content ===…
frappzlul
  • 21
  • 2
1 2 3 4
5