[英]Twitter image upload using java script.
I am trying to upload a image to twitter via https://api.twitter.com/1.1/statuses/update_with_media.json API provided by twitter. 我正在尝试通过twitter提供的https://api.twitter.com/1.1/statuses/update_with_media.json API将图像上传到twitter。
I am really confused about the flow for calling this API. 我真的对调用此API的流程感到困惑。 How will I get user authenticate and allow my application to post data ? 如何获得用户身份验证并允许我的应用程序发布数据? Can anyone give me the exact steps to follow for implementing this ? 谁能给我确切的步骤以执行此操作? If any one having sample code for the same that will be most helpful. 如果有人有相同的示例代码,那将是最有帮助的。
If there is any library available for then please direct me to it. 如果有任何可用的库,请直接引导我到它。
Regards 问候
Are you trying to do this from javascript client code? 您是否要通过javascript客户端代码执行此操作? I had to do that recently, and you're going to have to user server-side code, for two reasons: 我最近不得不这样做,由于两个原因,您将不得不使用用户服务器端代码:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.