Signed image URL's are 404-ing


#1

For about a year, we’ve used Twitter4j to sign links to images inside of DM’s, such that the image will load in a browser even if the user is not currently logged in to Twitter.

An example of such a link:

https://ton.twitter.com/1.1/ton/data/dm/585142169989689344/585142170019061760/21daH2jA.jpg?oauth_consumer_key=ysdjcLkfMdLh51qJkvQJAw&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1428346181&oauth_nonce=1173398237&oauth_version=1.0&oauth_token=2847863994-HmoHV2pPyJi5jy3EbrZIFTK8exndQUqG2a7aavG&oauth_signature=ffafWstqQ8QdC0ysP1V5nCtrf6E%3D

It appears that sometime between 2015-04-04 and 2015-04-06, these signed links stopped working consistently. Our code hasn’t changed during this period.

Is this the result of a recent Twitter change? Is there a workaround we can employ to get our application working again soon?