I am writing an application for mobile phones with java. This program
will be downloaded and installed to the device.
I wanna use 2-legged OAuth, so how can I retrieve VIEWER ID? In order
to connect and reach to see the friend list of the user wants to
login, I need the VIEWER ID of that user.
Here is an example:
c.setProperty(OpenSocialClient.Property.CONSUMER_SECRET,
"uynAeXiWTisflWX99KU1D2q5");
c.setProperty(OpenSocialClient.Property.CONSUMER_KEY, "
orkut.com:
623061448914");
c.setProperty(OpenSocialClient.Property.VIEWER_ID,
"03067092798963641994");
In this example the VIEWER ID is already known before, but
how?? ..with doing some magic after the user enters his nickname and
password of his orkut account??
Sincerely,
Hamdi