-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweet posting with media_ids fails #46
Comments
@mariobehling @Orbiter @sudheesh001 @daminisatya Please help. How should I proceed? |
https://dev.twitter.com/rest/public/uploading-media
|
@abishekvashok Yes, the image I tried was of JPG type and the size was 34KiB. |
Twitter reject photos and videos that have less color in it. |
Post media_id_string instead of media_id @SKrPI |
Parent issue: #41
Steps to post a tweet with media:
POST media/upload
twitter API endpoint: https://dev.twitter.com/rest/reference/post/media/upload-init (Media ID is obtained for small files, without using APPEND and FINIALIZE command).statuses/update
(https://dev.twitter.com/rest/reference/post/statuses/update) by providing the media ID inmedia_ids
parameter. This request throws an HTTPException 400, and with an error message:Tried to test the request with
twurl
and an Webapp developed by a twitter team member (http://django-rest-apis.herokuapp.com/media/video), both of it throw the same error (mentioned above).Searched a bit about this and found the following discussions:
A demo app that can be used to verify this error, link: https://github.com/SKrPl/TwitterMultimedia
The text was updated successfully, but these errors were encountered: