|
From: | Ankit Upadhyay |
Subject: | [myexperiment-hackers] myExperiment Android App - OAuth Connection & API Interaction |
Date: | Thu, 1 Dec 2011 01:36:38 +0000 |
Hi All, I am trying to build a connection of Android App with myExperiment using OAuth. Currently I have so far registered Android App as a client application via myExperiment wiki. I received Consumer Key and Secret to build connection. I have received all permission for all GET and SET methods. I am working on making Java classes to build connection via in-built libraries. There are some java errors which I am working on to resolve. I have a question though. When I request authentication with Username and Password (along with tokens) - how do I know that authentication was successful ? Does it return some parameter values? I have another follow up question on API. One of the API providing information about friends list is
http://www.myexperiment.org/user.xml?id=19710&elements=friends ID = 19710 is associated with user: Ankit Upadhyay and shows full list of friends in browser (XML Tree). The question is how do I get value of parameter ID or other unique parameter after successful authentication ? I have attached a abstract interaction diagram from OAuth request to API request. It is hand drawn in my project workbook; I hope you will be able to read my hand writing. The image is high res, so you will be able to zoom in. I am going to read more about OAuth in greater detail to understand this stuff better. I hope I am not missing something obvious. Ankit Upadhyay
|
DSC_0066.JPG
Description: JPEG image
[Prev in Thread] | Current Thread | [Next in Thread] |