Accessing iCloud Photos from a Web Application

I am trying to create a web application to access iCloud photos from a user. I want the app to be able to fetch the iCloud photos at any time without the user having to 2FA at that time.


Things I have tried already:


Are there any other ways to do this? What about family sharing?


Thanks

MacBook Pro 14″, macOS 14.0

Posted on Nov 19, 2023 1:14 PM

Reply
1 reply

Nov 19, 2023 2:21 PM in response to r-muresan

I’m not aware of a documented web API into iCloud photos. Not past the iCloud Photos website.


Bypassing two-factor authentication is going to continue to be an issue with any access control based on an Apple ID.


Export all photos or specified photo album(s) into your app, or export into a different photo-hosting service, or configure the photo album(s) for per-user sharing, or set up a shared photo library. The shared photos or shared albums aren’t particularly compatible with a web app, though.


If a Mac is involved, a Mac native app—probably not a web app—can potentially be used to access and serve the photos, or to stream the photos to some other display. Or to some other web service.


Pretty much any Apple ID used for access control is going to have two-factor enabled though, which means shared photos that are restricted to specific Apple IDs—not globally accessible—will still need two-factor.


General info:

How to use iCloud Shared Photo Library - Apple Support

Web-only access to iCloud - Apple Support



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Accessing iCloud Photos from a Web Application

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.