Pages

Tuesday, June 11, 2024

OneDrive Direct Download Link Generator for 2024 Breaking API Change






Microsoft OneDrive Direct File Download URL Maker




<iframe src="https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ" width="98" height="120" frameborder="0" scrolling="no"></iframe>  see instructions below, if you don't know how. NOTE : For images there an extra step below.



https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ and populate the text-box below. To proceed click "Get Download Link" button.



4. Now, Click on Get Download Link button.


Text-box will be highlighted so you can copy the full link. To copy, right-click and choose  "Copy" or simply (ctrl-c) to copy link. Note: Entire URL is automatic selected for your convenience.





 


For 2024, a new API breaks the above

Rolled out is some regions, the above method will not work. Here's the work-around.

1. Choose item in OneDrive and click Download button.

1a. In your browser (Edge shown), choose the download link to display downloaded history.

2. Select download item and then right-click on the downloaded item.

3. In Sub-Menu select Copy download link, that will give you a very long link. And that works!


Warning: This link only last 1 hour. Please see comments below.












For Images, you get a direct url
  1. Right-click on image and select Embed. The Copy the URL to embed image now gives you direct download URL, but is super long.

    So you do not need to do the above! 


10 comments:

  1. Hello. Sorry. Tell me, please, is this form not working now? I am paste embed link in the field, click get... and nothing happens.

    ReplyDelete
  2. Hello..
    is there any other way for a permanent direct download link using the latest api with domain 1drv.ms?

    ReplyDelete
  3. Nice :) Here's another way to do it with videos (I don't think it works with documents)... Open Onedrive in you browser and go to a video and click on it so the video plays... Then right click on the video and choose 'Copy Video Link' and there you go :) I stream on Roku and it works great :) from John

    ReplyDelete
    Replies
    1. Great, it works..!!
      Is it permanent or limited time?

      Delete
    2. Permanent for next few years. MS reengineered the API which is a considerable investment. The last API lasted 10yrs.

      Delete
    3. sadly, it only last 24 hour, not permanent link

      Delete
  4. Transfer up to 2G free with https://wetransfer.com/

    ReplyDelete
  5. hello, new update for API 2024?

    ReplyDelete