nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

ngCordovaOauth for Instagram - (cannot authenticate via a web browser) #254

Closed ayyoub- closed 8 years ago

ayyoub- commented 8 years ago

I'am trying to login with an instagram account to my hybrid APP using instagram API and cordovaOauth.

var igClientId = $scope.client_id; $cordovaOauth.instagram(igClientId, ["scope=basic"]).then(function(result) { console.log(JSON.stringify(result)); }, function(error) { console.log(error); });

but i got this message when i try to login

cannot authenticate via a web browser

i do my test by building the app from xcode on my iphone.

nraboy commented 8 years ago

Tested Instagram and it works fine for me.

If you'd like to purchase support, see the following:

https://github.com/nraboy/ng-cordova-oauth#support

Otherwise, I encourage you to reach out in the developer communities like Stack Overflow and the Ionic Framework forums.

Best,

cc @matheusrocha89