Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
guilleglad
Posts: 8
Registered: ‎11-28-2010
My Device: Not Specified

Re: Facebook SDK problems

Well suddenly it has been solved , it looks like someone contacted with facebook staff, lol , well thank you whoever did it :Clap:

Please use plain text.
New Contributor
guilleglad
Posts: 8
Registered: ‎11-28-2010
My Device: Not Specified

Re: Facebook SDK problems

Mmm... (OS 7) After been logged in it's showing "Page Not Found", it's not solved yet
Please use plain text.
New Contributor
guilleglad
Posts: 8
Registered: ‎11-28-2010
My Device: Not Specified

Re: Facebook SDK problems

The Problem happens just the first time you are trying to login in your device, somebody has solved it???
Please use plain text.
Developer
arindamhit
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel

Re: Facebook SDK problems

I have been used this part of code for the facebook login and posting in the wall:

 

	String NEXT_URL = "http://www.facebook.com/connect/login_success.html";
	String APPLICATION_ID = "xxxxxxx";
	String APPLICATION_SECRET = "xxxxxxxxxxx";
	String[] PERMISSIONS = Facebook.Permissions.USER_DATA_PERMISSIONS;
	
	ApplicationSettings as = null;
	Facebook fb = null;

  as = new ApplicationSettings(NEXT_URL, APPLICATION_ID, APPLICATION_SECRET, PERMISSIONS);
		fb = Facebook.getInstance(as);

//After clicking the button in my app

if(field == mCbFacebook)
		{
			try {
				
				User user = fb.getCurrentUser();
				user.publishStatus("Hello world!");
				Dialog.alert(""+fb.getCurrentUser());
			} catch (FacebookException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
}

  But it is displaying in the facebook page after sometime: "An error occured, Please try later".

 

 How can i post in the wall??

Please use plain text.
New Developer
rincethomas33
Posts: 39
Registered: ‎12-31-2010
My Device: 9800
My Carrier: Airtel

Re: Facebook SDK problems

iam having same problem. After login, its showing error 500. check this - http://stackoverflow.com/questions/16181928/facebook-blackberry-sdk-error-500

R33
Please use plain text.
Developer
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: Facebook SDK problems

Yes, we are also getting Error 500..

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Please use plain text.