How to add Shared via when sharing content from an Android app to popular social networks?

My Android application allows users to read full articles from various blogs and share the posts using Android's in-built sent action:

Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);

When I share an article, Twitter indicates it is shared via Twitter for Android, and Facebook simply has an RSS icon with no "shared via" at all.

What is the procedure of getting my app's title to appear next to "Shared via" for those social networks?


With Twitter you'd need to do the sharing directly through your own application, the API key you use to share with is associated with the 'shared via' link. If you share through another twitter application like Twitter's official app or TweetDeck then the 'share via' link will be to their app as the article was shared using their api key. There are libraries and tutorial on how to implement twitter api yourself.

Need Your Help

WinAPI LPWSTR, C++11 u16string?

c++ winapi unicode c++11

If I'm developing for Windows and some WinAPI functions require me to use LPWSTR as string data type. Is it okay to use C++11's u16string in my library? Are those two data types the same thing?

Sequential AJAX Requests

php jquery ajax json zend-framework

I have a situation where I need to make sequential AJAX requests represented by an ordered list (<ol><li>..) on the page. I use jQuery.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.