bernhar...@gmail.com
unread,Dec 7, 2009, 10:11:07 AM12/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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