Hi all
I am new to android and i was trying to open a facebook authentication url
in intent

String url = "http://www.facebook.com/login.php?api_key="; + API_KEY +
"&v=1.0&auth_token=" + auth;
Uri uri = Uri.parse(url);
startActivity(new Intent(Intent.ACTION_VIEW, uri));

it starts activity and opens a browser... but
it gives invalid url error.. please tell me what i am doing wrong.. there
was  "w2m"  added in url, why it is there ??
The url i passed was www.facebook.com but i see the opened url in logcat as
http://touch.facebook.com/login.php?w2m&api_key=<http://www.facebook.com/login.php?api_key=>



thanks
Vijay

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to