Reply to DM doesnt work

Support / help / discussion forum for twitter bot
axisar
Posts: 136
Joined: Fri Oct 11, 2019 2:42 pm

Reply to DM doesnt work

Post by axisar »

Hello there.
Tried to reply to some DMs from inbox scraper, but all tries returned failed with 400 error

Code: Select all

Sending to conversation: 1277211375287308288-1293156836980465664
Sending DM media
POST: https://twitter.com/i/direct_messages/new
POST AJAX: 400
https://twitter.com/i/direct_messages/new
FAILED POST: (604201) 400
https://twitter.com/i/direct_messages/new
* FAILED: DM
axisar
Posts: 136
Joined: Fri Oct 11, 2019 2:42 pm

Re: Reply to DM doesnt work

Post by axisar »

Also scraped DMs seems not marked as read on twitter.
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Reply to DM doesnt work

Post by martin@rootjazz »

axisar wrote: Fri Sep 18, 2020 5:52 pm Hello there.
Tried to reply to some DMs from inbox scraper, but all tries returned failed with 400 error

Code: Select all

Sending to conversation: 1277211375287308288-1293156836980465664
Sending DM media
POST: https://twitter.com/i/direct_messages/new
POST AJAX: 400
https://twitter.com/i/direct_messages/new
FAILED POST: (604201) 400
https://twitter.com/i/direct_messages/new
* FAILED: DM
submit logs please

HELP > LOGS > SUBMIT

then send your logs ID - the first 4 numbers is sufficient (displayed after successful uploading of logs)




For future reference, please, read through this post and submit your issue accordingly. Not everything will be relevant to your issue, but have a read as it gives an idea of the information you can provide to help me help you as quickly as possible without delays in having to request additional information :)

https://rootjazz.com/forum/viewtopic.php?f=23&t=1634



Regards,
Martin
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Reply to DM doesnt work

Post by martin@rootjazz »

Also make sure you are on the latest version:
https://rootjazz.com/twitterdub/updatetesting.html

Does the issue occur on this version?
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Reply to DM doesnt work

Post by martin@rootjazz »

Confirmed DMs working fine here, if can get me the requested information I can investigate further


Regards,
Martin
axisar
Posts: 136
Joined: Fri Oct 11, 2019 2:42 pm

Re: Reply to DM doesnt work

Post by axisar »

I tried manually reply to message double clicking on it and typing text
axisar
Posts: 136
Joined: Fri Oct 11, 2019 2:42 pm

Re: Reply to DM doesnt work

Post by axisar »

Here is a log

Code: Select all

03:43:57: Starting: 22.09.2020 03:43 
03:44:00: Sending message to: 1307277382701776897 from: Account1
03:44:00: DM: Nope. Postiong just for fun with: Account1  Proxy: IP:PORT 
03:44:00: Get User: 1307277382701776897 with: Account1
03:44:00: UserDetails: 1307277382701776897 with: Account1  Proxy: IP:PORT
03:44:00: Scrape from ids: 1
03:44:00: Scrape details from: 1 inputs
03:44:00: x-guest-token: 1307409601537740801
03:44:00: Set headers
03:44:00: CSRF from cookies: 36a2f78eafd1e93263f80a7421fb58e0
03:44:00: x-csrf-token: 36a2f78eafd1e93263f80a7421fb58e0
03:44:00: Set CsrfToken
03:44:00: Set AuthorisationBearer
03:44:00: Getting user details for :1 ids
03:44:00: GET: https://api.twitter.com/1.1/users/lookup.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&skip_status=1&user_id=1307277382701776897
03:44:02: GET: 200
https://api.twitter.com/1.1/users/lookup.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&skip_status=1&user_id=1307277382701776897
03:44:02: Total results: 1
03:44:02: * SUCCESS: UserDetails: 1307277382701776897 with: Account1
03:44:02: PreTokens: Nope. Postiong just for fun
03:44:02: user from cache: https://mobile.twitter.com/Account1
03:44:02: json user: 
{"Url":"https://mobile.twitter.com/Account1","name":"Name","location":"Some Location","created_at":"Sat Sep 19 19:21:46 +0000 2020","favourites_count":11,"id_str":"1307399434901360642","followers_count":5,"url":null,"description":"💦 Everybody loves you when they are about to cum. 💦","protected":false,"listed_count":0,"friends_count":27,"statuses_count":139,"verified":false,"screen_name":"Account1","default_profile":true,"default_profile_image":false,"profile_image_url":null,"lang":null,"IdStr":"ID","pinned_tweet_ids_str":[],"following":null,"followed_by":null,"FollowersCount":5,"StatusesCount":139,"FriendsCount":27,"Language":null,"Description":"💦  💦","Following":false,"FavouritesCount":11,"follow_request_sent":null,"FollowRequestSent":false,"Id":"1307399434901360642","entities":{"url":null}}
03:44:02: PostTokens: Postiong just for fun
03:44:02: Msg: Postiong just for fun
03:44:02: Sending to conversation: 1307277382701776897-1307399434901360642
03:44:02: Get auth_token from account store
03:44:02: Generate auth_token 
03:44:02: Sending DM media
03:44:02: POST: https://twitter.com/i/direct_messages/new
03:44:03: POST AJAX: 400
https://twitter.com/i/direct_messages/new
03:44:03: FAILED POST: (524460) 400
https://twitter.com/i/direct_messages/new
03:44:03: * FAILED: DM: Nope. Postiong just for fun with: Account1
03:44:03: 400
https://twitter.com/i/direct_messages/new

03:44:03: * FAILED: send message to: 1307277382701776897 from: Account1
03:44:03: Started: 22.09.2020 03:43 
Finished: 22.09.2020 03:44 
ID: feb4a767-a4cd-45b7-9bf6-df277b689c96
03:44:03: Action ran for: 0hr:0min:5s
03:44:03: finished processThread: DbSendMessage feb4a767-a4cd-45b7-9bf6-df277b689c96
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Reply to DM doesnt work

Post by martin@rootjazz »

axisar wrote: Mon Sep 21, 2020 7:49 pm Here is a log

Code: Select all

03:43:57: Starting: 22.09.2020 03:43 
...


thanks, but can you submit logs as requested please. Additional error logging / debugging files will be written on a failed attempt which will give me more information.

Also confirm you are on the latest version please



Regards,
Martin


Logs:
HELP > LOGS > SUBMIT

then send your logs ID - the first 4 numbers is sufficient (displayed after successful uploading of logs)


Version:
HELP > ABOUT
axisar
Posts: 136
Joined: Fri Oct 11, 2019 2:42 pm

Re: Reply to DM doesnt work

Post by axisar »

ID 84137
Also check please, what messages scraped from twitter do not marked as read
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Reply to DM doesnt work

Post by martin@rootjazz »

{"errors":[{"code":64,"message":"Your account is suspended and is not permitted to access this feature."}]}
for one of the accounts
Post Reply