【发布时间】:2021-05-16 08:09:18
【问题描述】:
我在我的网站上有一个使用 php 生成的图像,我想要一个“tweet this image”链接,其中包含类似的内容
“这张图片是在推特帖子上的
example.com生成的。
这怎么可能?
我读到只能从推特服务器本身嵌入图片,但有没有办法在用户点击“tweet this image”后自动上传它们?
我目前有这个:
<a class='fab fa-twitter'
target='_blank'
href='twitter.com/intent/tweet?url=<img-link>"
. $player->getIgn()
. "&via=<name>&text=My%20first%20join%20on%20Hypixel%20was%20"
. $player->getYears()
."%20years%20ago!'>Tweet this image</a>
【问题讨论】: