I am developing a simple mobile app on appery.io for learning / experimental purposes at this point in time. I would love to be able to authenticate users by integrating oauth.io to assist with this.
The oauth.io documentation is written in such a manner that it looks like it should be very simple to do but I'm hitting a dead end and I'm concerned that I'm not doing things correctly or that what I'm setting out to do is impossible.
I am following the documentation provided at the references, below. I've installed the oauth.js file into the JavaScript folder under the project tab on appery's app builder. I confirmed that the HTML code is set (actually, appery.io does this automatically, but I double-checked), and then the next bit of code the documentation suggests triggers an error when I set it to run on "page show" in my app's start screen.
The line
OAuth.initialize('key-goes-here');
triggers an error in the console.log as follows:
Uncaught TypeError: Object #<Object> has no method 'initialize'
the following line that the documentation provides also raises the same error:
OAuth.redirect('stackoverflow', '/auth/callback');
I've scoured Google, appery.io and oauth.io for answers on how to proceed with this but cannot find anything (they seem to be somewhat new services). I don't think that this falls under appery's purview to assist me and haven't heard a reply from oauth.io. At this point, I do not even know if it is possible to do what I'm trying to do or whether it's just me doing something embarrassingly wrong.
If anyone is familiar with both of these services and could explain how to allow for o-authentication of users using oauth.io on appery.io in terms that someone at the lower-intermediate level could understand, that would be wonderful. Have I missed out any important information needed to assist with this?
References:
https://oauth.io/docs/api
How to get current user details logged through OAuth io
infoq. com/news/2013/08/oauth-io
oauth. io/auth/download/latest/oauth.js
Here is a great detailed tutorial how to use oauth.io and Appery.io - http://docs.appery.io/tutorials/connect-with-api-providers-using-oauth-io/
Feel free to contact Appery.io support team via forum - https://getsatisfaction.com/apperyio/
Related
I am in search of tracking my app, that how many user visited on specific dates and which functions they are mostly visiting.
Some of fellow told me that go with WooCommerce. I'am exploring its docs WooCommer Docs for integration but I'm not able to find anyway in which integration with iOS(Objective-c) mentioned in Doc. So I have few questions.
Is this the right thing which I am looking for my desired
requirement?
I think this is mostly use for themes like I fount This
App which more likely for themes instead of tracking app.
Looking for help for initiating my task.
When I say that, I mean if I'm creating an APP that I want to work in conjunction with say instagram, twitch, or facebook, etc, where they log in with their account first, how could I go about that? I'd want to essentially do an ADD-ON and make it more accessible/easy for users. Where could I learn more about how to do that?
It sounds a big vague I know, but I'm not sure how else to explain it.
You are looking for an OAUTH API from any of those providers, if I am understanding your post correctly.
You would read the documentation at their relative websites and then apply what is necessary to your project.
More info on facebook here: https://developers.facebook.com/docs/reference/dialogs/oauth
I want to add Yelp search into my application.
To do this I need to use Yelps Oauth authentication. This sounded easy as I've made some server applications before.
However, I keep getting an INVALID_SIGNATURE with the code I have created to make and retrieve data from a constructed URL.
I have checked the signature output by my app and it is exactly the same as the one they provide at http://api.yelp.com (I've even checked the two strings (before the hashing) at http://www.textdiff.com and they said they were the same)
It seems I hit a dead end and cannot get around this error.
Can anyone point me in the right direction with why my signature might not work
and/or
Can someone point me to a good iOS Oauth tutorial and library (any library I have found has poor documentation on how to use it)
Thanks
I am integrating the UPS, USPS, DHL and FEDEX with my Rails application.
For that I am using 'trackify' plugin to find the carrier type for given Tracking Number and for also finding the XML response from the respective tracking site.
I want a complete guide for each of the above about how to integrate tracking API's?
You need to go to the companies' sites themselves to get that information. Once you've done that then come back if you have any questions about actual implementation. Sorry for leaving this as an answer but I can't leave comments yet.
I've been attempting to go over the Twitter API, albeit it has taken me a while and I'm being thrown back and forth between the old and the new site - however I was wondering if there is a date at all for when a user has decided to follow or; or if your able to tell when a user stopped following you?
I've been looking through here https://apiwiki.twitter.com/Twitter-API-Documentation to no avail, but I wondered if anyone knew of a way of doing it (outside of a separate monitoring system of course!)
Cheers,
Dan
The Twitter API doesn't explicitly provide dates for when a user started following you or stopped following you. This is something that you would need to monitor in some fashion.