How to integrate Flickr API to my android app? - flickr

What are the steps involved to integrate the flickr api to my android app ,so that I can view my photos in a gallery.

Use scribejava for auth/requests.
More about authentication read here.
Then get tokens, try calls api methods.
Also you can test methods direct from web by API Explorer (https://www.flickr.com/services/api/explore/{method}.

Related

Implementing Spotify Web API into my Android App

I am trying to access music information such as playlists, songs, artists, etc. from Spotify's API but do not know how to go about it. I was reading into Spotify's Android SDK but it requires the Spotify app to be downloaded on the device.
Would it be possible to access Spotify's Web API from my Android App? If so, what would I need to import/add to my project and what language will I need to know.
I'm just looking for some direction so any information would be appreciated.
Thanks
If you want to use the Spotify Web API specifically, you can authorize your custom app following this guide.
Not knowing about your Android knowledge, I suggest being familiar with the basic principles that can be learned here before starting the development of your app.

How can i safely pass access token generated from Google OAuth to a NodeJS REST API?

I am creating two application :
1. Chrome extension for gmail.
2. It's IOS version
Now, since both the applications have same behavior and uses same google apis extensively, i decided to create a single project in google cloud platform for both. Now, when creating credentials, what will be my application type? I see both 'IOS' and 'Chrome App' under application type. Should i generate two Client IDs for chrome app and ios app?
To use single Client ID, i also tried creating a Node REST API (created a new project and set application type to 'web application' in google cloud platform) that will be used by both of my application to make request to google apis? But the authorization process includes, setting a callback url to get the authorization code and later use this code to get the access token. I guess this is not feasible for a REST API. Where should i keep the authorization part? In the application itself and later send the access token to my rest api? Is it possible?
I am very much confused about how should i start. Please could anyone suggest a better way to do this?
I generated two client ids, one for ios and for the web. Isolating both applications is a good way to start. Both the apps generate their own token id, pass the id to Node Rest API and later the use that token to make a request to Google APIs.

Library to authenticate user using their Facebook and Google accounts using OAuth on Mono Droid and Mono Touch

I'm very new to Mono Droid and Mono TOuch, but I would like to know if there is any library that allows me to authenticate users of my application using their Facebook and Google accounts?
I've seen some examples for the Facebook SDK on "Mono for Android" and "Mono Touch" , but since I don't need the full facebook SDK and I only need a small set of info from the user I was wondering if there is a simple library that will allow me to authenticate to any site using OAuth (I'm only interested on Google and Facebook for now).
Did you try community-based implementations from OAuth site?
About Facebook API binding: I tried Facebook API binding for MonoTouch with no success. After that I started using official JSON-based Facebook Graph API. It's relatively easy to implement calling of any API method. For more information about using Facebook API in MonoTouch/MonoDroid apps please see that answer.

show auth popup in spotify preview api

I'm trying to migrate a spotify app into the new preview API.
Using the old framework I could get access to auth module and show an oauth popup using showAuthenticationDialog method.
However, I can't find the equivalent in the preview API.
Would appreciate any help
Thx,
Adaf
Currently there is no equivalent to the auth module in the Preview API. This API is still under development, so changes will be made until it is finally released.

Detect if spotify track is 'explicit' via the apps api or web api

Is there any way to detect if a track in spotify is explicit via the apps api or the web api?
The Web API does expose this data as of now.
example JSON search
The APIs do not currently expose this data.

Resources