Need embeded links for many images in a OneDrive folder - microsoft-graph-api

Here's my problem, and I can't solve it.
Maybe you have a solution.
I have a OneDrive folder with lots of pictures in it.
What I need are "embedding links" from the pictures. But I don't want to create 5000 "embed links" individually.
Does anyone have a solution for me how to automate this?
I have already looked at MS Graph, but it involves a lot of work. I have no experience with it. Do you have another idea? Or a good explanation how to do this with MS Graph?

So I figured this out.....
One "simply" has to rearrange the structure of the OneDrive URL
For instance......
Here is how a URL must be structured for it to point to a file inside a onedrive folder.....
https://yourmicrosoftaccountname-my.sharepoint.com/personal/1stURLsegment/2ndURLsegment_onmicrosoft_com/Documents/1st_level_OneDrive_folder/2nd_level_OneDrive_folder/3rd_level_OneDrive_folder/filename.ext
Won't bother about going into any detail able how to structure the gallery in PowerApps such that it can use a dynamic list of files in a table to point to media files.

Related

How to download folder content on GoogleDrive API?

I have a problem on GoogleDrive API. I want to get all contents from such a file with 1 request! I know that there are methods, which let us to get list of files in folders, and then do requests for each file. But it's complicated & nasty approach. Is there anyone, who knows how can I implement this desirable trip on iOS(swift)???

Making app for Offline Browsing

I am new to objective c and still learning. I am making an app for my project in which user can download the whole website or webpage for later browsing..so i need some guidance, so if any one can give some suggestion that would be great
There are many ways to achieve what you asked for. Either by saving the websites data in temporary folder or you may save the whole site as pdf.

How download linked pdf files from website?

I want to download hundreds of pdf documents from a site. I have tried tools such as SiteSucker and similar, but it does not work, because there appears to be some "separation" between the files and the page that links to them. I don't know how to describe this in a better way, since I don't know that much about website programming or scraping. Any advice on what this can be and how one can circumvent it?
More specifically, I am trying to download pdfs of UN resolutions, stored on pages like this one: http://www.un.org/depts/dhl/resguide/r53_en.shtml
It appears there is an in-built "search function," on the UN site, which makes dummy scraping, like SiteSucker, not work as intended.
Are there other tools that I can use?
Clicking a link on the page you mentioned redirects to a page composed by two frames (html). The first one is the "header" and the second one loads a page to generate the PDF file and embed it inside. The URL of the PDF file is hard to guess. I don't know of free tool that could scrap this type of page.
Here is an example of the url in the second frame that ends to the PDF file:
http://daccess-dds-ny.un.org/doc/UNDOC/GEN/N99/774/43/PDF/N9977443.pdf?OpenElement

How to stop embedded google drive on my website from linking to Google when clicked on

After having embedded google drive files on my website (awesome feature), I found a minor drawback.
When clicking on one of the maps in the list, it will redirect/link the viewer on my page to the google drive site. However, I want to keep the viewer on my page and the folder to open within my own website.
Also I want other folders within these folders to open within the borders of my website, and so on and so forth.
The used code is simple:
The used website is Typo3 based.
Does anyone have a solution for this problem?
Thank you very much in advance; all replies and suggestions are highly appreciated!
After a quick search it seems to me this is more a hack than an official google feature, so probably there's no easy way for altering the behaviour of the stuff inside the iframe. I would rather recommend setting an outbound link and accepting the fact that you're hosting the files at Google.
In the future, there might (or might not) be a File Abstraction Layer Adapter for Drive coming up: http://wiki.typo3.org/FAL_Adapters. Well, probably not so soon. But for Dropbox!

Google Drive as a video hosting/streaming platform?

I'm developing an iOS app that generate video files and have a social gallery for users to display their clips. After a lot of research I found that Google Drive would be perfect to fit my needs so I did some testing and sucessfully made the app upload the file to GDrive and everything.
Now I need to stream the uploaded file in a MPMoviePlayerViewController, for that I would need some kind of direct link, I'm right? After my initial tests I used the variable WebContentLink as a source URL and it worked flawlessly, I was really happy with the result, however now it doesn't work anymore, I don't know what happened and I think the method that I used is not realiable? I tried all the other possible links and none of them seems to work.
Can someone give a guidance about if this is really supported by Google Drive and how it's the best way to archive that in a reliable way?
Thank you very much !
I too encounter the same error when I try to download 28 times (testing) the same 24mb file.
However I realise if I am to download using the content owner ID, it does allow downloading after the 28th time
https://docs.google.com/a/onwardsct.com/uc?id=0ByvXJAlpPqQPYWNqY0V3MGs0Ujg&export=download
Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
The experience for streaming files natively is not ideal right now, sorry. It is something Google are working on.
You are doing this correctly though. The webContentLink should use the user's quota, and that should be enough for most cases. If you can give some specific numbers, we can look at it.
The embed link is the best way to show it on a mobile device, but as you say won't work everywhere.
yes, google drive can be used for hosting and stream videos as you like. It can also be used as demo server for web projects. Here is how to host a website on Google drive.

Resources