Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个程序,将我的 twitter 头像设置为文件夹中的随机图片。我知道如何挑选随机文件,但如何让它们上传到 Twitter?
谢谢。
您需要使用 Twitter 的REST API 服务。特别有一项服务可以帮助您:POST account/update_profile_image。
请注意,API 需要多部分表单数据,而不是URL。