too many redirections


Hey all,
when attempting to download files on “” locations i keep getting too many redirections. any idea why? why would the page redirect me so many times?.
the given url’s are entities’ urls direct messages to be exact, i know i need the authentication and i indeed make the autentication as properly as i know how. i already looked at:
and it seems to be ok. maybe the example is not the correct one for my request?
any ideas?