且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Twitter的API的OAuth

更新时间:2022-06-09 05:19:52

您可以包括你已经包括换句话说(你好NETTUTS +)以同样的方式链接/ URL在你的状态更新。

You can include a link/URL in your status update in the same way that you have included the other words (Hello Nettuts+).

但是,你不能以这种方式添加图片 - 你需要使用状态/ update_with_media 相对于状态/更新端点您使用的是在现有的code端点。您可以通过阅读Twitter的API文档了解如何做到这一点:

However, you cannot add pictures in this manner - you will need to use the statuses/update_with_media endpoint as opposed to the statuses/update endpoint that you are using in your existing code. You can learn more about how to do this by reading Twitter's API documentation:

https://dev.twitter.com/docs/api/ 1.1 /后/状态/ update_with_media

你可以看到一些例如code位置:

And you can see some example code here:

https://dev.twitter.com/discussions/1059