[GIFs] Replace GIPHY with Tenor (#3651)
* replace GIPHY with Tenor * remove "directly" wording * replace GIPHY wording * remove log
This commit is contained in:
parent
1a4e05e9f9
commit
76449fb6ef
6 changed files with 220 additions and 335 deletions
|
@ -90,11 +90,9 @@ export const BSKY_FEED_OWNER_DIDS = [
|
|||
'did:plc:q6gjnaw2blty4crticxkmujt',
|
||||
]
|
||||
|
||||
export const GIPHY_API_URL = 'https://api.giphy.com'
|
||||
export const GIPHY_API_KEY = Platform.select({
|
||||
ios: 'ydVxhrQkwlcUjkVKx15mF6vyaNJbMeez',
|
||||
android: 'Vwj3Ib7857dj3EcIg24Hiz1LbRVdGeYF',
|
||||
default: 'vyL3hQQ8AipwcmIB8kFvg0NDs9faWg7G',
|
||||
})
|
||||
export const GIPHY_PRIVACY_POLICY =
|
||||
'https://support.giphy.com/hc/en-us/articles/360032872931-GIPHY-Privacy-Policy'
|
||||
export const GIF_SERVICE = 'https://gifs.bsky.app'
|
||||
|
||||
export const GIF_SEARCH = (params: string) =>
|
||||
`${GIF_SERVICE}/tenor/v2/search?${params}`
|
||||
export const GIF_FEATURED = (params: string) =>
|
||||
`${GIF_SERVICE}/tenor/v2/featured?${params}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue