Is there any way by using Google's API and Flickr's API to share files without downloading them on my host?
I currently did the authorization and files listing from google drive. But I'm not quite sure how to make the sharing.
Related
Why doesn't Google provide publicly accessible link to raw image files, which could be embedded in a website? As I've researched, they did allow it through G Suite a year ago, but not anymore, their reasoning being that there are other providers for this exact thing. As it stands now, it seems that the only possible way to achieve this is to first download the file via Google Drive API via your server and deliver it to the client. But this seems an overkill. What is your suggestion, should I switch to something else, e.g. Amazon S3, or is this solution scalable/economic enough? I picked Google Drive over Amazon S3 because it's free (at least to some extent).
I am making a web and mobile application that lets you upload files through google drive. the thing is my storage is getting low, somebody told me that i should find a way to upload files depending on the user, it means every user should upload files through their own google drive account and can access it or get a shareable link so the storage consumption would not be crowded with different kind of files. is there a way to do that, if not is there any other cloud storage that provides that kind of concept. Thanks in advance.
For application specific data, you may want to check Storing Application Data. The Google Drive API includes a special hidden folder that your app can use to store application specific data.
As discussed in the given documentation,
The App Folder is a special folder that is only accessible by your application. Its content is hidden from the user and from other apps. Despite being hidden from the user, the App Folder is stored on the user's Drive and therefore uses the user's Drive storage quota.
See if it will help you, otherwise you can use Google Cloud Storage or Firebase Storage as also suggested by Anwar Nairi. Both of these offer storage services which are ideal for your app. Drive API is meant for personal use.
after days of searching, I have concluded that the right question would be better. I am working on app backend. I need it to backup some files regularly on Google Drive. Do I understand it correctly that I need Google For Work account so I can use Server2Server?
According to this
https://developers.google.com/api-client-library/php/auth/service-accounts
Google wants me to grant access only via Google For Work account. Have I missed anything if I just want my web based php script executed by cron to backup few files on Google Drive? Is there any other option?
Thank you!
The account that Google Drive connects to is determined by the content of your OAuth Access Token. If you'd like to do server-to-drive, where the Drive account is your own, see the instructions in How do I authorise an app (web or installed) without user intervention? (canonical ?)
I actually try to manage Folders, Files, Users, Groups and permissions between them by a PHP Rest API.
I can manage : Folders and Files by the OneDrive Rest API.
I can manage : Users and Groups by the Azure AD Rest API.
But I can't manage permissions between them...
I saw that with OneDrive API I can generate a sharing link, but it's not what I want.
I want to manage permissions without external interventions.
I tried to find it on the SharePoint API, but apparently it does not discuss with onedrive folders.
Does someone know how to manage them ?
I am working on PHPmotion video cms website. I want to create API to access the videos links and its info for creating app for iPhone.
How can I create API for PHPmotion website to stream its videos in iPhone app. What is the best way to create API for iPhone? How can I do it?
you can use Json to fetch the video url from server and play its content in the shared appication.