我想要上传图片&来自我的应用程序栏的推文,我用这个推文发送消息&图像:
consumer = Twitter.connect
u_token = @aut_tw.token
u_secret = @aut_tw.secret
access_token = Authentication.twitter_prepare_access_token(consumer, u_token, u_secret)
response = access_token.request(:post,
'https://api.twitter.com/1.1/statuses/update_with_media.json',
feed.merge('media[]' => media, 'status' => @post.text_no_html))
但是收到此错误消息:195 missing or invalid url parameter