Problems using newer version to connect to MySpace

3 views
Skip to first unread message

bernhar...@gmail.com

unread,
Dec 7, 2009, 10:11:07 AM12/7/09
to opensocial-client-libraries
Hi there,

I already used this client for connecting to MySpace which worked
excellent in March 2009.
Now I updated to the version available for download which encounters a
problem.

I still use and want to use the "old" way of connecting, so getting
request, access token and than use openSocialClient.fetchFriends
(requestParams) for receiving data.

RequestParams I set:
requestParams.put("fields", "@all");
requestParams.put("count", new String(friend_amount));
requestParams.put("groupId", OpenSocialClient.FRIENDS);

This worked fine with the old version, now I updated and replaced
"OpenSocialProvider.valueOf("MYSPACE");
" with "new MySpaceProvider();"

If I now run the program I the exception below :
net.oauth.OAuthProblemException: parameter_absent
at net.oauth.client.OAuthClient.getRequestToken(OAuthClient.java:
106)
at org.opensocial.client.OpenSocialOAuthClient.getRequestToken
(OpenSocialOAuthClient.java:180)

What do I have to do to make this work again?

Thanks a lot!

Berni

Jason (Google)

unread,
Dec 7, 2009, 12:50:54 PM12/7/09
to opensocial-cl...@googlegroups.com
Hi Berni. I'm in the process of deprecating the code that's currently in trunk and prepping a new re-written client. It's not feature complete yet (e.g. it doesn't have an Android client), but it does support two- and three-legged OAuth for MySpace. Please download it and give it a try, and let me know if you see the same error message.


- 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