Error occured fetching the access token

2 views
Skip to first unread message

deepsp

unread,
Dec 3, 2009, 6:37:03 AM12/3/09
to opensocial-client-libraries
Hi All,

I am using the opensocial android/java client library to use myspace
details in my external application.
I have registered the details with the myspace myApps.

I have the customer key and secret. But i am getting the following
error while fetching the access token.

Caused by: java.lang.RuntimeException: Error occured fetching access
token
E/AndroidRuntime( 725): at
org.opensocial.android.OpenSocialActivity.getOpenSocialClient
(OpenSocialActivity.java:90)
E/AndroidRuntime( 725): at
com.example.DisplayFriendsActivity.setupClient
(DisplayFriendsActivity.java:67)
E/AndroidRuntime( 725): at
com.example.DisplayFriendsActivity.onCreate
(DisplayFriendsActivity.java:60)
E/AndroidRuntime( 725): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
E/AndroidRuntime( 725): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2364)

Can anyone please tell me how to resolve this exception?

Regards
deepsp

Jason (Google)

unread,
Dec 3, 2009, 12:52:47 PM12/3/09
to opensocial-cl...@googlegroups.com
It sounds like you're using MySpace's 3-legged OAuth environment. Are you being properly redirected to myspace.com to enter your login credentials before seeing this error? Can you share some of your code that you're using to progress through this flow (feel free to obscure your key and secret).

- Jason


--

You received this message because you are subscribed to the Google Groups "opensocial-client-libraries" group.
To post to this group, send email to opensocial-cl...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-client-l...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-client-libraries?hl=en.



Reply all
Reply to author
Forward
0 new messages