Linkedin Groups not getting in android -
am trying groups in linkedin, using call http://api.linkedin.com/v1/people/~/group-memberships?count=10&start=10&format=json when try call url getting error message "access group-memberships denied".
here code:
string message=""; token requesttoken; service = new servicebuilder() .provider(linkedinapi.class) .apikey("xxxxxxxxxx") .apisecret("xxxxxxxxxx") .build(); requesttoken = service.getrequesttoken(); string url = "http://api.linkedin.com/v1/people/~/group-memberships?count=10& start=10&format=json"; oauthrequest request = new oauthrequest(verb.get, url); request.addheader("content-type", "application/json"); service.signrequest(linkrdintoken, request); response response = request.send();
Comments
Post a Comment