No idea, I seem to remember they were originally done with DM permissions. Anyway, I created a new app with exactly the same settings and everything works fine with those new tokens
Any idea how many DMs are stored by Twitter? I ran a loop and pulled in 196 before REST returns an empty set (with a http 200), but I see about a dozen or so in my account that never get listed even if I go with a max_id…
I also found an anomaly. Id and id_str don’t match in the Apigee test console but do when used directly. The console seems to round off the last two digits
FROM THE CONSOLE:
“id”: 835202450474704900,
“id_str”: “835202450474704901”,
“text”: “Two words… #YouMatter. Change a heart. Change a mind. Change a world. Please share the message https://t.co/NmJlywpjHE”,
USED DIRECTLY
dm_id=835202450474704901, sender_screen=’’, date=‘2017-02-24 13:02:59’, dm_text=‘Two words… #YouMatter. Change a heart. Change a mind. Change a world. Please share the message https://t.co/NmJlywpjHE’
Yes, we decided to not simply kill DMs. We’ll pull them in to our servers so they can be searched, sorted, categorized, mined or whatever. Also, that way, we’ll have ALL DMs going forward to look at. We’ll store them, then we’ll remove them from the account.