V
V
volucris12021-03-31 16:31:43
API
volucris1, 2021-03-31 16:31:43

Why doesn't limit work when working with the Giphy API?

https://api.giphy.com/v1/gifs/trending?api_key=${apiKey}&?limit=10
They give me 50 gifs, and the limit is 10, what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
volucris1, 2021-03-31
@volucris1

I figured out the question mark after & is not needed!
Like this:

https://api.giphy.com/v1/gifs/trending?api_key=${apiKey}&limit=10

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question