I have application which connects facebook and twitter for sharing information for my app. I need help to get API key for facebook and twitter networking. I don't know how to get that key for my android app.
For Twitter, try using
http://twitter4j.org/en/index.html
It has docs, examples etc for you to browse.
For facebook connectivity use following link might it can help you .
https://developers.facebook.com/docs/mobile/android/build/
For facebook connect example in android
http://www.codeproject.com/Tips/457153/How-to-integrate-Facebook-Twitter-Linkedin-in-Andr
Related
I am using 3pillar socialauth to write an app that connect with 3 sites - facebook, twitter and google+. While login with facebook is working perfectly fine I am having issues with twitter. I get the following message - org.brickred.socialauth.exception.SocialAuthConfigurationException: Application keys are not correct. The server running the application should be same that was registered to get the keys.
If I use the default keys provided with the samples the app works perfectly fine. How do I resolve this issue? Please guide me. Thanks in advance.
Twitter login with SocialAuth works perfectly (I've done it). Please ensure that you have done all of the following:
1. You have created an app in the Twitter account of your client/company, and the consumer key & consumer secret used in your Android app are the same as those you got from your Twitter app.
2. In your Twitter app, you have set the access level to either Read and write or Read, write, and direct messages.
3. You must provide a callback URL in your Twitter app.
References:
1. Step by Step Guide to Get Twitter consumer key and secrets.
I am developing android mobile application. I have to integrate twitter to my application.
I am facing a problem in very basic step that is registration of application to twitter.
My question is what the URL I have to provide in the registration form as my application is in developing phase and haven't any URL ? Also guide me about callback field.
Anybody can help me, as I need this for the proceeding...
Use any web url as your app url and use this url as a callback url.
CALLBACK_URL = "x-oauthflow-twitter://callback";
it may help you and if you have any query regarding that then tell me.
You can integrate Twitter using SocialAuth Android Library. See this post
Android Twitter Connectivity?
i am developing an application which post a message to the linkedin wall . Please, can any one give some sample code.
Thanks in advance
I have created a sample application for linkedin connectivity.You can download the source code the from the following link
https://github.com/srivastavavivek1987/LinkedIn-Connection-in-Android
In this sample, you get access_token for the user.
So further use LinkedIn REST API with access_token to post on wall.
The site already offers Android application, consider that!
Otherwise here's some official docs: http://code.google.com/p/linkedin-j/
and http://developer.linkedin.com/, mostly http://developer.linkedin.com/documents/libraries-and-tools
P.S. The power of Google!
You could try the LinkedIn API wrapper for Java.
The OAuth tokens must be your own - get them here.
I am trying to create an Android app and I want to send a Facebook friend request through Android Facebook API. I have spent some time but couldn't find an interface for this. Is this possible to do this through Facebook API if I know the person's Facebook id?
It is recommended that you use the Friends dialog: see http://developers.facebook.com/docs/reference/dialogs/friends/ for details.
i am developing app.its having post message on facebook and twitter.i searched on net and got many example but i confused with twitter.
if i am using oath authentication how should i provide login screens for clients.many example
what i found just they are using consumer and secret key where i need to pass uname,pword
can you pl suggest me its very urgent to me
Thanks in advance
Aswan
Twitter using oAuth at present, so whatever api's you will get, they will open the official twitter login page in webview, so you cannot use your own login page for that, twitter does not want's that........Hope it help's youGood luck.......
I've done this using a WebView (to hold the login UI which comes from twitter.com) and Signpost for the OAuth authentication. There's a good example here.
However, this turned out to be a less than brilliant mobile user experience - WebView login screens just suck - so I switched to using XAuth instead of OAuth, which you have to apply to Twitter for. The benefit of doing that is that you can have your own custom login UI, which isn't web-based. Unfortunately Signpost doesn't yet support XAuth so I also changed to using a stripped-down version of JTwitter.
If you are interested in using Singpost and Android's HttpURLConnection to obtain access token based on username and password you can have a look at my post. I was referring to Twitter XAuth so that's should be what you looking for. It works for me.
http://3citydev.blogspot.com/2013/05/how-to-obtain-xauth-access-token-using.html