Update for 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.
How to get a Microsoft OneDrive Embed Code detailed instructions
You have to save the file first then open in Adobe Acrobat/Reader.
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.
How to get a Microsoft OneDrive Embed Code detailed instructions
- Goto OneDrive (https://onedrive.live.com/)
- Upload you file
- Right-click to "Embed" your uploaded file
- Click Generate HTML Button.
- Copy and Paste HTML Code to Notepad
- Copy the all the embed code ie. <iframe src="https://onedrive.live.com/embed?cid=..." >...</iframe> and paste into above.
- Done!
For Images, you have to do an extra step
- Right-click to "Share" your uploaded file
- Click Copy button. Updated Jan 01, 2017 API change.
This will produce a share URL that looks like this,
https://1drv.ms/i/s!AvOyviiXZJmPlSc1CjtKuwc_gqVu - Paste share URL into http://www.linkexpander.com/ and copy that URL. or http://www.websiteplanet.com/webtools/redirected/
The resulting Uncovered URL is in the format we need, and look like this.
https://onedrive.live.com/redir?resid=8F99649728BEB2F3!2727&authkey=!ADUKO0q7Bz-CpW4&ithint=photo%2cjpg - Paste "Uncovered URL" link into 3.1 OneDrive File Embed Link text-box above
and click 4. "Get Download Link" button above. - Right-click and choose "Select all" and "Copy".
- Paste the OneDrive Share Direct Download Link in emails instead.
- Done
- Updated June 07, 2016 API change!
Using OneDrive as a CDN
Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN) plausibility post.
A note about Sharing PDFs
Google Chrome Warning: Very large PDF files do not preview in Chrome
PDF files approx. over 100Mb in size, do not preview in Chrome, and you get a splash page to "For the best experience, open this PDF portfolio in Adobe Acrobat or Adobe Reader"Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN) plausibility post.
A note about Sharing PDFs
Google Chrome Warning: Very large PDF files do not preview in Chrome
You have to save the file first then open in Adobe Acrobat/Reader.
No comments:
Post a Comment