Link to home
Create AccountLog in
Avatar of allelopath
allelopath

asked on

How to link to my facebook page?

I want to provide a link in an Android app to my facebook page.
I tried http://www.facebook.com/myfacebookname but this doesn't work.
ASKER CERTIFIED SOLUTION
Avatar of E C
E C
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of allelopath
allelopath

ASKER

Pulling down on the gear icon, the menu is:
  Add to Interest Lists...
  Create a Page
  Create Ad
  Share...
  Visit Help Center
  Send Feedback
  Privacy
  Terms
To create a badge, I click on Profile Badges, then +Other and it gives a string. This string is input to the method below, but first the string has to be formatted so that the " are preceded with \ so that it compiles correctly. When running, an exception is thrown:
FATAL EXCEPTION: main
android content.ActivityNotFoundException: No Activity found to handle Intent {act=android.intent.action VIEW dat=<string here>

public void openWebURL( String inURL ) {
	Intent browse = new Intent( Intent.ACTION_VIEW , Uri.parse( inURL ) );
	startActivity( browse );
}

Open in new window