Google Photos API for Public Albums - google-photos-api

I have a website that the gallery part uses photos that are stored on Google Photos.
I'm trying to migrate a connection to the Picasa API (now completely depreciated) to Google Photos API. However all suggestions point to the visitor to authenticate themselves and exchange code for a token, however I'm looking for a simpler method that skips this for public shared photos and users without a Google account. Any suggestions?
PS: I'm using C# WebForms, but an API that returns a JSON would be great.

Related

How to access Instagram Graph API and use Instagram webhooks?

I'm trying to create an app in which I would like to display user feeds from social media apps like Instagram. I want the data to be as live as possible so I tried to integrate Instagram Webhooks. I have created a server side application with Instagram's authentication and a callback url for webhooks through which I want to fetch data from Instagram and then store it in a database.
I have been going through the Official documentation. I was able to get User id, name, comments through Instagram API and I have also subscribed Instagram's webhooks in my meta developer's application. It didn't throw any error but when I like or comment on my post I couldn't get any object in the callback URL. I'm completely new to this so It would be great if someone could explain me how to do this?

getting insight media data (like comments and location) of public Instagram account (not business) from Instagram API

my requirement is to get instagram user media data (like_count,comments,location).it was going fine with instagram Api until it announced it to deprecating those APi and shifted to Facebook Instagram Graph APi and Instagram Basic Display API.i cant use Graph APi as it will require user to have business account but yes users have to make account public.with Instagram Basic display Api we cannot have media insights (like_count,comments,location).i can extract data of public user from _sharedData variable using https://www.instagram.com/USERNAME/ response. will that be alright? because if i have hundred thousand users,i will be making those requests to Instagram at a time. will Instagram restrict me of doing this action?is there another solution of getting using media data?

Is there any way to get images from an instagram account since the new changes of the API (April 4th, 2018)?

Instagram API removed the following endpoint:
GET /users/search
which I was using to get images from my profile on my website.
Is there any way to do this now? I can't find any info since this is very new.
You can get at least the newest 12 pictures from a public account by using this URL scheme:
https://www.instagram.com/[name_of_account]/?__a=1
You can parse the Json output and find the image-URL in display_url
This also works with hashtags and locations:
https://www.instagram.com/explore/tags/hawaii/?__a=1
you can show your own media,
https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN
just enter access token an you will be able to get your media data
I do not see any way via either the old Instagram API or via the new Facebook graph API for Instagram Business Accounts to get profile images for accounts that are not yours. If it is an Instagram Business Account, you could get the Facebook profile image from the Facebook page associated with that Instagram account; but if it is a non-business Instagram account, that won't work. More documentation here: https://developers.facebook.com/docs/instagram-api/overview

Get images with tag using FB's new Graph API for instagram

Recently, Instagram/Facebook stopped approving apps using their old Instagram API in favor of Facebook's graph api.
I'm struggling to figure out how to migrate of some of the functionality I'm wanting in my app.
With instagram, to get recent images with a given tag, you simply made a request to this URL:
https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN
Does the Facebook graph api for instagram have that? I couldn't find it in their documentation.
The new graph API does not support all the APIs that the old Instagram API supported. You cannot get images by hashtag and location and any user's posts, like you could with old APIs.
With new graph API you can only access your photos and your insights and comments.
No hashtag posts, other user posts, location posts or follower lists.

Accessing non-public photos in Flickr API

I'm developing an app that gets photos from Flickr with Javascript. Photoset ID that shown in image is not public hence when i select the "don't sign call" option, API responses "error". I don't want make my Flickr photos public but i want call them from another page via API. I know that it's possible with "token". But token is required going "Login Page".
Can it is possible accessing non-public photos with my API Key?
Yes, your app can access your private photos. You will need to learn about Flickr's user authentication API, which uses the OAuth protocol. It's a little tricky to get started with, but there are third-party libraries to help with some of the work.

Resources