Spotify web api sdk - reactjs

How to play song through spotify web api.
I have build my website using spotify web api node, a library for spotify api.
But I am not able to figure out how to play songs using that library.
I know that i need to use the SDK, but I am not able to figure out how to implement the SDK, I have tried reading the documentation of Spoitfy, but still no progress.
I am new to this, so I don't have much idea. Can someone please explain me how to make it work, or show an example.

You can find an example of how to authenticate, connect and play songs via the Web Playback SDK in this Glitch
The Web Playback SDK is client-side JavaScript library which allows you to create a new player in Spotify Connect and play any audio track from Spotify in the browser.

Related

Can i use Alexa skill Reminder API and Proactive events API without AWS lambda?

I want to integrate Proactive Event API and Reminder API into Alexa skills. I saw some examples using aws lambda. I want to know if i can use it using my own service?
You can yes - it's just an HTTP call so you can do that from wherever works best for your infrastructure/skill. Please refer to the documentation here:
Reminders API
Proactive Events
I would highly recommend using the ASK SDK to develop your skill as it handles authentication for you among other things.
See this tutorial with a live code video on how to integrate the RemindersAPI using the ASK SDK for Node.js.

Alexa skill to access a website

I have recently strated learning about Alexa skills. I was wondering if we could access different websites using alexa. For example, "Alexa, show me my facebook notifications"
So far I have seen examples of how we can create WebAPIs using Amazon API Gateway. But can we access a different website or a blog with GET or POST method that is not using Amazon API Gateway.
Also, what authorizations will be needed to do this?
For example, "Alexa, show me my facebook notifications"
Yes, it is possible to have that kind of functionality.
Currently, I'm developing with nodejs and use the request-promise module for making HTTP request to my server.
Also, there is a nice tutorial using the request npm module.

is there any skype api available to integrate with salesforce [skypedeveloper]

we wanted customize our salesforce application via giving the skype conference link while sending the email from the application itself. the application is completely on visualforce pages and controller so i dont see any appexchange app will help on this.
I have already checked the below links though i could not get any integration apis
https://msdn.microsoft.com/en-us/skype/ucwa/onlinemeetinginvitation_ref
https://ucwa.skype.com/websdk
There are no integration Apis as of now. Only you have to write your own integration logic using Skype for Web SDK. It is a bit complicated SDK and not properly documented or maintained. It has tight coupling with Azure AD and video streaming doesn't work in Chrome/Firefox.
Some integration use cases/examples can be found here
Other relevant information.
https://dev.skype.com/
https://github.com/OfficeDev/skype-docs/tree/master/Skype

Spotify web api to play playlists

I'm building a voice activated AI system for my home. A la Echo, I want to be able to start streaming music on my android host when I say "play some rock". I can handle the ai part, but I need a web API endpoint to start streaming music.
Here's Web API Endpoint Reference. This Web API endpoints gives external applications access to Spotify catalog and user data. And some Web API Code Examples & Libraries and here's Working With Playlists.
Also have a look at this. This repo is a Go wrapper for working with Spotify's Web API which aims to support every task listed in the Web API Endpoint Reference.
Hope this helps!
The Mopidy music server can stream music from spotify and offers lots of API options for clients.

Best JavaScript Client Libraries to do OAuth2.0(Google) and access Google CloudEndPoints in phonegap?

I have been developing an online accounting software which is a web application. We use Secured Google Cloud Endpoints in our project. Now I would like to securely access those endpoints in phonegap. So, for that I would like to do OAuth2.0(google) and access my API securely. I have been struggling for a while to find good JavaScript Client Libraries to access my Secured API in phoneGap.
Please help me...
Any replies would be appreciated.
Finally After some struggle I have figured out the solution. If we are trying to do Google OAuth in phone gap its better to use normal JQuery and for calling the Secured Google Cloud Endpoints we can go with Google JavaScript Client Libraries. I have found a sample project oauth-google-api-gapi-phonegap-childbrowser-jquery which is a very good start for the beginners.

Resources