Hi All,
I want to get Facebook Friends List and online presence from my
android application.
For that i have got API_KEY and SECRET from facebook.
I am using this code.
Intent intent = new Intent("android.intent.action.VIEW",
Uri.parse("http://www.facebook.com/login.php?
api_key=API_KEY&connect_display=popup&v=1.0&next=http://
www.facebook.com/connect/login_success.html&cancle_url=http://www.facebook.com/connect/login_failure.html&fbconnect=true&return_session=true&req_perms=read_stream,publish_stream,offline_access"));
startActivity(intent);
So when i run this code first i get facebook login page. on filling
data, i got some error page
error is -
"Error while loading page from <MyApplicationName>
<MyApplicationName> is under construction. Please try again later.
Configuration errors:
To fix this error, please set your Connect URL in the <b>application
settings editor<b>. Once it has been set, users will be redirected to
that URL instead of this page after logging in."
If i directly hit url
http://www.facebook.com/login.php?api_key=API_KEY&connect_display=popup&v=1.0&next=http://www.facebook.com/connect/login_success.html&cancle_url=http://www.facebook.com/connect/login_failure.html&fbconnect=true&return_session=true&req_perms=read_stream,publish_stream,offline_access
I got same error page. So I thing i have done some configuration
error.
Please help me out what error i have done and how to solve it.
Thanks
--
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