I need to integrate a 'share on facebook' button on my app.. following this guide
I add a listener on my button and in the 'onClick' I write:
private static final String FACEBOOK_APPID = "00000";
private static final String FACEBOOK_PERMISSION = "publish_stream";
FacebookConnector facebookConnector = new FacebookConnector(FACEBOOK_APPID, activity, context, new String[] { FACEBOOK_PERMISSION });
facebookConnector.login();
//facebookConnector.postMessageOnWall("weeee");
I know the APPID number, but…what is the facebook_permission (publish_stream)?
if I try without the facebook_permission I get a null pointer exception