0

Possible Duplicate:
facebook: Your link could not be shared

I'm adding the ability to share scores from my app using android's share intent:

Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "My Score");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "I scored "+score+" on "+difficultyString+" difficulty.");
context.startActivity(Intent.createChooser(shareIntent, "Share your score"));

When i click the link to facebook, it says, "Your link could not be shared" on the facebook page. Any help?

Community
  • 1
  • 1
Keenan Thompson
  • 980
  • 3
  • 11
  • 31
  • What if theres no facebook application installed? The best way to do this kind of things is using the official Facebook SDK for Android and share things using it. – Cristian Oct 15 '10 at 00:45
  • I found out that Facebook official android app only allow sharing to itself. No other app can share through facebook. I find this very annoying – Keenan Thompson Oct 16 '10 at 00:24
  • @Christian - That doesn't make as much sense to me as giving the user a list of choices. What if they just want to email? What if they prefer twitter or buzz? – Brandon Apr 01 '11 at 01:55

0 Answers0