How can is get the photos stored in a Google Photos Album via an API using AJAX? The method of using jQuery Fancybox seems relatively simple and fetches images via AJAX with no issue if I have the correct path.
The link for the album is https://photos.google.com/share/AF1QipPMSlvhP4RGfwoo6lt44dbR2dWQTFeuMXb7Ow37yxjzH9iPYwxpjtNuDy3FJJ8vJQ?key=bjBfak5RMDVZeDJ4OU1fVnVyZDY3ZUNlSVBUemFn
and I am using the method suggested by Fancybox as
<a data-fancybox data-type="ajax" data-src="/path/to/ajax/" href="javascript:;">Gallery</a>
I am sure that Google must give the ability to do so but I just cannot find where.
<link href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js"></script>
<a data-fancybox data-type="ajax" data-src="https://photos.google.com/share/AF1QipPMSlvhP4RGfwoo6lt44dbR2dWQTFeuMXb7Ow37yxjzH9iPYwxpjtNuDy3FJJ8vJQ?key=bjBfak5RMDVZeDJ4OU1fVnVyZDY3ZUNlSVBUemFn" href="javascript:;">Gallery</a>