Tweesky

GRATUIT
Par Beppe Catanese | Mise à jour 2 months ago | Social
Health Check

N/A

Retour à tous les tutoriels (1)

Create Tweesky Card

Create Social Media Cards

There are different approaches in creating the Tweesky Cards

Create Card as HTML

Invoke the endpoint to obtain the HTML content of the Card

curl --request POST \
  --url https://tweesky.p.rapidapi.com/cardContent \
  --header 'content-type: application/json' \
  --header 'x-rapidapi-host: tweesky.p.rapidapi.com' \ 
  --header 'x-rapidapi-key: my_rapid_api_key' \
  --data '{
	     "url": "https://mylatestupdate.domain.com/",	
			 "title": "Read This",	
			 "description": "Announcing a new feature",	
			 "image": "https://mygallery/images/shiningsun.png",	
			 "owner_id": "digitalmaster"}'

Save the HTML in a web page and share the URL.

Advantages

  • Obtain card compatible with OpenGraph and Twitter Cards metadata
  • Small card size(1Kb)
  • Cards shared with your own URL

Notes

  • Requires self-hosting

Create Card URL

Invoke the endpoint to obtain the URL of the Card

curl --request POST \
  --url https://tweesky.p.rapidapi.com/card \
  --header 'content-type: application/json' \
  --header 'x-rapidapi-host: tweesky.p.rapidapi.com' \ 
  --header 'x-rapidapi-key: my_rapid_api_key' \
  --data '{
	     "url": "https://mylatestupdate.domain.com/",	
			 "title": "Read This",	
			 "description": "Announcing a new feature",	
			 "image": "https://mygallery/images/shiningsun.png",	
			 "owner_id": "digitalmaster"}'

Share the URL (i.e. https://tweesky.com/t/xxxxx) on Social Media: users will be redirected to the original URL.

Advantages

  • Obtain card compatible with OpenGraph and Twitter Cards metadata
  • Cards hosted at tweesky.com

Notes