Linkedin API for android getConnectionsfor currentuser() exception - android

I am using linkedin api for android linkedin-j-android.jar.
Through this i can login to my account from my android app and client.getProfileForCurrentUser(); and client.updateCurrentStatus("Status updated from android app"); also works fine.
The problem i am facing is that whenever i make a call to
client.getConnectionsForCurrentUser(); or
Connections connections = client.getConnectionsForCurrentUser(connectionFields); ,i get exception "Access to connections denied". How to provide the permissions or is there any other way to solve it? i m stuck on here. help me to solve this problem
Thanks in advance

I have used this api for linkedIn. It helps me to post status and get contacts.
http://code.google.com/p/socialauth-android/

Related

Login from Android with Amplify and Login with Amazon

I use Amplify on Android with the option Login with Amazon.
Unfortunately I get an:
AmplifyException {message=Sign in with web UI failed, cause=com.amazonaws.mobileconnectors.cognitoauth.exceptions.AuthServiceException: invalid_request, recoverySuggestion=See attached exception for more details}
when I login with my Amazon account data. The sendet data is correct…
Can anyone help me out?
Thank you in advance!
Pingu
I solved the problem.
The problem was that only the admin could create new users. After I disabled this option it worked!

TestFlight intergration Android

Unable to receive crash reports on my Test flight account even though application gets crashed.
I integrated the SDK in my application. I did following steps -
1. Integrated SDK in code
2. Used proper Application ID
3. Started session using TestFlight.startSession();
4. Called TestFlight.sendCrash(121213, "XXX", "YYY"); method
4. Ended session using TestFlight.endSession(); in one of my destroy() method.
Let me know if I am doing anything wrong or missing anything.
Thanks in advance, your answers will be much appropriated.
Crash sessions should be sent back to TestFlight automatically. There is no need to specify startSession, sendCrash, and endSession. Please contact TestFlight support here (http://help.testflightapp.com/customer/portal/emails/new) so we can further investigate. Please include the URL to the build's permissions page in the email.
Thanks,
Justin (TestFlight Support)

"Access to Connection denied" linkedin-j android

I'm using linkedin-j in my android app.By following library usage as mentioned in
https://code.google.com/p/linkedin-j/wiki/OAuthFlow
https://code.google.com/p/linkedin-j/wiki/GettingStarted
I'm able to get logged-in user details. But I'm having problem while getting Connections and Posting network updates.In myeclipse it showing an error Access to Connection denied.
Any one can help me how to get email too. Any help is appreciated and thanks in advance
Please check default scope in your linkedin app.

Retweet for Android API problems

Hello all and first thing to apologize for my poor English.
I wanted to comment my problem on the attempt of the integration retweet on my android application.
So far I managed to authenticate with OAUTH and even I have been able to send a tweet.
My problem starts when I want to be able to send retweet from a ID that I have saved in a class.
I have tried almost everything, Ive been dozens of hours looking for information on this, but without knowing if I on the right track.
trying to create a getRetweetsById function
trying to make http GET to the address:
https://API.Twitter.com/statuses/retweets/21943348.json
... getting the same response in all cases
It doesnt work.
If someone could guide me which is the appropriate method and the steps i should follow I would be eternally grateful.
Thanks and best regards
hey try following code
Twitter mTwitter = TwitterFactory.getInstance();
mTwitter.retweetStatus("send ur id here");
thanks
santhu

Authorization through Google+ in Android App

I've spend about 5 hours searching ways how to authorize to Google+ in my Android app.
I need to get user id, his name and avatar.
I have all required data such Client ID and Client Secret.
I've tryied this code https://github.com/imellon/Google-Plus-Android-Sample#readme but when I call
execute()
method in
GoogleAuthorizationCodeGrant
class, I get 400 Bad Request Error. And I don't know why.
I couldn't find any example how to authorize via google-api-java-client.
If anyone has working example how to solve my problem - please help me!
The Google+ Android starter application demonstrates this use case:
http://code.google.com/p/google-plus-java-starter/source/browse/#hg%2Fandroid

Categories

Resources