Making an image from a Tweet

Making an image from a Tweet You can use the Switchboard Canvas API to reference a tweet, and have the data from that tweet populate a template. { "template" : "tweet2" , "sizes" : [ { "width" : 1080 , "height" : 1920 } ] , "tweet" : "https://twitter.com/anafabrega11/status/1397581643083395074" } You can reference the tweet using the full URL to the tweet or just the ID: { "template" : "tweet2" , "sizes" : [ { "width" : 1080 , "height" : 1920 } ] , "tweet" : "1397581643083395074" } Your template must be set up with certain named elements. These values for these elements will be overwritten with data from the tweet when the API is called.
Was this article helpful?

Still puzzling over something?

The agent has read this article — and everything around it. Ask a follow-up and it answers in seconds.