开发者

Display media in tweet via API?

I have a picture sharing website that when people post a picture, it updates their twitter status with a link to it.

With the new Twitter layout, the allow something called "Tweet Media" where they will show media from the link you posted in your tweet.

My question is - how do I do that? Do I have to modify my PHP script that updates my tweet? The 开发者_运维百科page that contains the image to tell Twitter what image to show?

Thanks!

Coulton


Displaying embedded media links in the right pane of the new Twitter UI is something that is done by Twitter. You can't make it happen by yourself. They look for URls with known patterns and then display the media listed in the URL. You should contact Twitter at api@twitter.com, and make them aware of your service. If they see a high enough usage, they will add it to their UI code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜