I'm creating a web application that accesses your photos. In order to make my application accessible to anyone who doesn't have a google account, I would like to allow the application to read and edit photos from public albums using their shared URL. This seems like something that should be easy to do, since all the authentication already happened when you made the album public, however, there doesn't seem to be any documentation about this online.
I've looked online for this but no information was there. Right now I'm writing my application in Node.js and working on authenticating with OAuth. I hope that there is something similar to the google maps API so that I don't need to provide authentication to edit a public album. If I have to use OAuth, then I can but I figured accessing a public album shouldn't be very difficult.
Thank you for helping me out.
No, there is not.
I have an application (in PHP) that connects to Google Photos through the API (after OAuth), and you could only get public link of albums created by the same application, not the ones created before, even you make it public from the Google Photos User Interface.
Related
I am trying to access a Google Photos album that has been shared via a sharing link. A UX user can access such an album without authenticating, simply by following the sharing link.
However, all APIs in Google Photos API that I can find require the user's OAuth token, and I do not wish to require the users to log in (as they are not required to do so in a browser).
I tried scraping the HTML output returned by Google Photos in response to the link, but it is quite difficult (not to mention fragile).
Any suggestions?
I'm trying to develop a Webapp that would allow users authenticate with their Google Account and store some information and files on their Google Drive.
It would be a static html/js page with no backend.
There is a quickstart example here:
https://developers.google.com/drive/api/v3/quickstart/js
It works fine but I am wondering if exposing my Client ID and API Key to everybody like in this example could not be a security problem. Anyone could use these id and key in their own app.
What do you think?
As per Changes to the Google APIs Terms of Service, you are asked to keep your private keys private.
Asking developers to make reasonable efforts to keep their private
keys private and not embed them in open source projects.
The author of that post was contacted and the exchange was made available on DaImTo's blog. This is a part of the reply:
Yes, you are not making your personal data available to them. You are,
however, allowing them to “impersonate” you in Google’s eyes. If our
abuse systems detect abuse (say, should someone try to DoS one of our
services using your key), you run the risk that they would terminate
your account because of it (and please note — they wouldn’t just cut
access to the key, they would shut down your console account).
I am trying to access the Spotify Data API and I'm struggling to find any information on this. I have managed to access the standard Web API as described on the developer.spotify site and have been able to perform simple tasks such as getting track names, album names etc.
However, the Data API is what I'm interested in. This link describes to how to access it but I cannot find anything online referring to this.
I would really appreciate some help accessing this.
Many thanks in advance.
Edit: Do I need to already have access to the Spotify Analytics resource?
You need to apply for access. Spotify will probably give you API documentation when they grant you access.
So I'm trying to add an actual Instagram feed to my wordpress site. I dont want to use a 3rd party site which doesnt drive traffic to the actual IG site. I've been on the IG developers site and to be honest kind of confusing. Any help would be greatly appreciated.
I would recommend using a plugin to do the hard work, since there are many out there, and integrating the instagram yourself could be a challenge. A quick google search gave me this one:
https://wordpress.org/plugins/instagram-feed/
If you don't want to use a plugin, you need to understand how the api works.
The instagram API requires OAuth authentication for most calls.
First, You will need to register an application on the https://instagram.com/developer/ site in order to obtain a client Id.
Once you have a client Id, you need to establish a flow for users who visit your site. There is no way around this for API calls requiring authentication.
First, the user needs to login and allow access from your account using the instagram api request url:
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code
CLIENT-ID is the id you obtained earlier, and REDIRECT-URL should be your wordpress site.
Calling this url will allow you to obtain an access token for the user on your site, and you can then make authenticated calls to the API using that token.
One way around this is to make simple calls that don't require authentication, using tags that are specific to your photos. That is described in this SO question:
Instagram API and importing photos without server side authentication
Cheers,
I agree with Felipe. If you or your client need an Instagram plugin, the easiest way would be to buy it at some marketplace. What’s more important, it is much cheaper than wasting your own time on developing one. Of course, that applies to commercial development, not something that you do for fun.
Here’s a list of plugins that I’ve installed to my clients and was happy about:
https:// wordpress.org/plugins/instashow-lite/ - lite version of the
premium plugin. The functionality is really limited, but it would be
enough to give you a simple display.
https://codecanyon.net/item/instagram-widget-wordpress-plugin-for-instagram/11170758 - a simple commercial widget to display your Instagram
account on a webpage.
https://elfsight.com/help/how-to-embed-instagram-feed-widget-on-html-website/ -
an interesting cloud solution for websites on any CMS. It’s got a demo and a
free plan.
Any API to get most accessed sites on internet.I have tried looking at Google API's but they are limited for private domain.I am trying to know is there any API to access most visited sites on internet
or
Is there any API where we can access top searches made on the internet
There is Alexa, they offer an API with shich you should be able to achieve this http://aws.amazon.com/awis/