Error 400 while using Dropbox chooser API - dropbox

I am trying to use Dropbox chooser using Javascript. Google chrome browser used.
https://www.dropbox.com/developers/chooser
I have registered the app as asked and given the redirect URI also.
And I have used the app key in my application.
However when I invoke the choose window using the code snippet they have provided, it ends up with 400 error.
I have attached a reference screenshot herewith.
Error 400
Kindly advise on this.

Related

How to implement Google authentication using Xamarin.Forms?

I am developing a login feature in that user can login into the application using the Google account and get user profile detail. For that, I am creating a project in google developers and it's verified by me.
I try with this reference here but when I try with this that is give me the error of "Disallowed user agent" and gives me the error of the open in safari or chrome when I try with the iPhone(iOS devices).
I also go through some other references like "Xamarin. Auth" but it doesn't work for me. When I set a redirection URL with clientId:/oauth2redirect or the Package Name(Bundle Identifier):/oauth2redirect . It gives me an exception of Not valid redirect Uri.
I also try to add JSON and p12 file on respective device-specific projects and set bundle resource but it doesn't work me.
If anyone has solution to this without using WebView than help me.
You can try this plugin from CroosGeeks
https://github.com/CrossGeeks/GoogleClientPlugin
Here is the sample app:
https://github.com/CrossGeeks/GoogleClientPlugin/tree/master/GoogleClient/GoogleClientSample
This is not using the WebView. The documentation is also quite good.

Uri mismatch in google sign-in oAuth

I am working on a react-native application where I need to integrate the google sign in, and after that, I need to get the list of associated youtube channels with selected email id. Somewhere I read that this youtube channel selection flow is not available on the native android library. so I have opted Web Flow. But the issue is that I want to use custom URI eg : package://scheme for this so that I can get the callback inside my app. my current URI looks like as shown below. But every time it gives an error that redirect_uri_mismatch, Even after using this link "https://links.dev.myserver.in" invalid redirect URLs in the google API console.
Please guide me how can I solve this problem.

Quickblox sdk - Authentication token is required error (xamarin.forms)

I am trying to run quickblox sample chat application which I got from following link
https://github.com/QuickBlox/quickblox-dotnet-sdk
Issue here is, when I run the app, it fails to load base session and gives error such as "{"errors":["Token is required"]}". I tried to debug it but could not find the root cause of it.
(Example code is using Quickblox sdk 1.2.2, which I tried to upgrade to 1.2.7 as well but in that case also still that issue remains)
The method inside sdk uses service call to api (http://api.quickblox.com/session.json) for getting session, which I tried to call by using Postman (google chrome extension), in which case I was able to get the session in response. Strange it is.
Does anybody know what is wrong with the example?
Update: I tried to manually write http call for getting session. Now in this case, I am no more able to access dialogs and other api calls are also failing(getting forbidden error in almost all sdk api calls after authenticating).
Could anybody tell me what is going wrong here?
After spending complete day found the fix. It was really small issue. Currently sample in github is using http://api.quickblox.comas a api end point, change it to https://api.quickblox.comand it will start working. Note the 's' in url.
The best way to do this is by using the account settings API.

There was an error loading your app! This app did not load because there appears to be something wrong with it

I am trying to create a Google+ hangout app.
I set up all fields in Google API console Enabled the Google+ hangout to my API's. When I am trying to add my hangout app to my hangout video call.
I am getting error like
There was an error loading your app! This app did not load because
there appears to be something wrong with it.
my XML source file is here
When my hangout app trying to download in hangout, my rails server getting error like
ERROR bad Request-Line `\x16\x03\x01\x00�\x01\x00\x00�\x03\x03y\bA黉̉EI�\x02\x06�p4�B8t\a�?붜��\x12�'.<br/>
ERROR bad URI `��T��\x15d"�\x0F��䃠\x7F�W'�Y�P�=\x00\x00\x1E�'
can anyone help me to come out of these.
when server asking for localhost:3000/demohangoutapp.html , in browser network tab the URL header contains Request URL: "https://localhost:3000/demohangoutapp.html?parent=https%3A%2F%2Fg7vvv07ifja6kfh7hlbpuen02gi410ue-a-hangout-opensocial.googleusercontent.com%2Fgadgets%2Fifr%3Furl%3Dapp%253A%252F%252F1089532940946%252Fhangout%26container%3Dhangout%26view%3Ddefault%26lang%3Dall%26country%3DALL%26debug%3D0%26nocache%3D1%26sanitize%3D0%26v%3De9f67d65d3c45721%26testmode%3D0%26parent%3Dhttps%253A%252F%252Fplus.google.com%26mid%3D1%26authuser%3D0%26hl%3Den%23st%3De%253DABul2V3342qYiNrtSKZaSOoxnVJcmjYLxlJqb%25252Btr8Am84%25252BAj6kYeDXuwqhkxsc5gE64NMBK9CbLIe77j9bOYVgOG9p9z24qCc4Pg6E3usS1oDG%25252F16daISnblUWzGg7XMSklgB5cfXZ2P%2526c%253Dhangout%26view-params%3D%257B%2522applicationUrl%2522%253A%2522https%253A%252F%252Fhangoutiframer.appspot.com%252Fforward%252Fv0.2%253Fu%253Dhttps%253A%252F%252Flocalhost%253A3000%252Fdemohangoutapp.html%2522%252C%2522appData%2522%253A%2522Hangouts%2522%257D&token=ya29.VQGN9n0LHGvwCD0CpORWgLMF3XX7xaExyl7mD_WjtcLbT4ie9uxFW9eIrPsYmRDxHebwSTs-RkGOHQ&gd=Hangouts" and response is failed to load
Looking at your source the issue is that your link to the Hangouts API JS is wrong/outdated.
The currently valid link is https://plus.google.com/hangouts/_/api/v1/hangout.js
Changing this link should fix the issue.

Working with Soundcloud API

I am working with an app we are developing and I am getting a 404 on Soundclouds link.
//connect.soundcloud.com/sdk.js ?
please advise as this is the link they provide to connect
You should contact them as the link to the JS is clearly not loading. You need a new URL.
You can load http://connect.soundcloud.com/sdk.js in your web browser to see that it is not available.
It is possible that you are not authorized to view this file and it is displaying the 404 message hiding the not authorized condition. If this is the case you will need to get authentication information.