Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onGifSelect should automatically trigger a "registershare" request #2

Open
maiconcarraro opened this issue Sep 17, 2024 · 1 comment

Comments

@maiconcarraro
Copy link

Based on Tenor's API documentation, on step 2, it says:

Step 2 - Implement Share Events
When a user selects a GIF to share, send a corresponding share event to Tenor. Share events help Tenor’s Search Engine AI tune search results, helping users find the perfect GIF.
For our example, we’re using the registered shared endpoint with the 1st GIF result returned for the search term “excited”

A great addition would be to add this behavior on this function:

onClick={() => onGifSelect(photo)}

I can send a PR in case you prefer.

@TheAlphamerc
Copy link
Owner

Yeah, this is good. let's implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants