tags:

views:

51

answers:

0

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?