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

Add field name to the error message in jquery validate plugin

jquery validation options jquery-validate

I'm using the jquery validate plugin to validate a form where quite a lot of fields are required. For clarity's sake, I'd like to use the error message container to display error messages, however in

JasperReports: Creating a Watermark with the Background Band

java jasper-reports

I'm trying to figure our how to set up a water mark for my JasperReport using pure Java (programmatically constructing the JasperDesign myself).