Android: I have a social networking application made by me, in which you can post comments, i want to facilitate user to one click share posted commented on user's twitter.
You can use Twitter API directly to do that.
There are also Twitter libraries compatible with Android platform.
Twitter4J
JTwitter
Related
I was wondering if it is possible for us to post to Facebook without using the Facebook SDK, but rather launch the native Facebook app with specific content to be posted?
In iOS, we can use the Social Framework, how do we approach this problem in Android?
Is it possible?
Yes, it is possible to invoke the share dialog without using the Facebook SDK using an Intent. Unfortunately it is not possible to share custom text. If this is a requirement you have to integrate their SDK.
For more details on the intent solution, have a look at following post: https://stackoverflow.com/a/21189010/5199788
I want to fetch tweets from IPL official page and display in my android app..How should I proceed in this?I have never used twitter in android before..I searched on internet and found various articles relating to create twitter login but couldn't find study material relating to fetching tweets from particular page in twitter in android..I would be thankful if someone can just tell me steps the way I should proceed on this?
i have used twitter4j Library for twitter
Twitter4J is an unofficial Java library for the Twitter API.
With Twitter4J, you can easily integrate your Java application with the Twitter service. Twitter4J is an unofficial library.
Twitter4J is featuring:
100% Pure Java - works on any Java Platform version 5 or later
Android platform and Google App Engine ready
Zero dependency : No additional jars required
Built-in OAuth support
Out-of-the-box gzip support
100% Twitter API 1.1 compatible
and folow dome twitter4j example http://twitter4j.org/en/code-examples.html
I am building an android application and I am stuck at one place. I have integrated Twitter in my app using twitter4j, signpost apis. I am successful in writing code for putting text in user profile but I also want the user to follow my app when they click 'follow us on twitter' button.
Can anybody give me reference or guidance of writing such code?
What you are probably looking for is createFriendship()
You can see how it is used here
2016 Edit: Google code svn is broken and twitter 4j has moved
http://twitter4j.org/en/api-support.html
I saw some topics here regarding facebook and twitter integration with Android Application.
I need help regarding, is twitter integration with Android App possible in real??
[I need to tweet on user's wall and all]
If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if this is the recommended way then how to implement this SDK):
http://forum.developers.facebook.net/viewtopic.php?pid=146956
or
else i use Android facebook SDK available here on code.google.com
The official facebook SDK for android is here:
http://github.com/facebook/facebook-android-sdk/
It includes complete examples of use.
I need help regarding, is twitter integration with Android App possible in real?? [I need to tweet on user's wall and all]
In real? Of course! You could be able to tweet on the user's timeline. In this case, use the appropiate authentication methods. There are many ways to do so, this is one of them:
http://www.androidsnippets.org/snippets/24/index.html
You can also use specialized third-party libraries (like twitter4j) to use Twitter from your Android app.
I am having social networking application made by me, in which you can post comments, i want to facilitate user to one click share posted commented on user's Facebook as well.
I tried fbconnect-android is there any other way sharing comments on FB?
You now have the official FB SDK for android.
A library to integrate Facebook into your Android mobile application.