Skip to main content
GIFs are a great way to change the tone or convey emotions in your conversations. Here’s a guide which helps to implement Tenor in an easy and quick way. Let’s get started!

Before you begin

  1. Sign up at Tenor and create a new app.
  2. Enter your App name, description and click create.
  3. Make note of the API key that has been created.

Extension settings

  1. Login to CometChat and select your app.
  2. Go to the Extensions section and enable the Tenor extension.
  3. Click on the Settings button, enter your Tenor API key, and hit save.

How does it work?

This extension uses the callExtension method provided by the CometChat SDK. You can perform the following actions using this method:
  1. Get trending GIFs
  2. Search for GIFs
To list and show the most trending GIFs on Tenor, all you have to do is include the following parameters in your request. Once you have set the above parameters, you can make a call to the extension as follows:

Search for GIFs

Apart from listing the trending ones, the extension also allows searching for a particular GIF using the following parameters: Once you have all the above parameters, you can make a call to the extension as follows: