01-13-2011 03:39 AM
Guys, it's change on the Facebook side:
http://developers.facebook.com/blog/post/445
basically Facebook SDK for BB needs to be fixed.
01-13-2011 03:48 AM
01-13-2011 03:53 AM
Apparently it has, since on 11th it was working, and on 12th it stopped. BTW, as gratefull as I am for this SDK to exist, it's not very clean.
01-13-2011 04:30 AM
01-13-2011 04:36 AM
if you know where we can write to rim, say around here to complain all and they fix it quickly
01-13-2011 04:41 AM
01-13-2011 04:59 AM
Who would be responsible for this sdk? Facebook or Blackberry/rim?
01-13-2011 05:02 AM
I think neither of them. Just some nice guy who wrote it and made it opensource.
01-13-2011 05:15 AM - edited 01-13-2011 05:30 AM
I think I found a solution.
In the LoginScreen in the constructor the URL is http://m.facebook.com/tos.php. The tos.php seems to redirect to http://m.facebook.com/login.php. While this redirect something seems to get lost.
I have changed the url to http://m.facebook.com/login.php and my application is working again.
Can someone please confirm this fix? Our application should go live very soon.
This is the changed Constructor of LoginScreen
public LoginScreen(FacebookContext pfbc, CookieManager cookieManager) {
super(new StringBuffer().append("http://m.facebook.com/login.php?").append("api_key=").append(pfbc.getApplicationSe ttings().applicationKey).append('&').append("v=1.0 ").append('&').append("next=").append(pfbc.getAppl icationSettings().nextUrl).toString(), pfbc, cookieManager);
settings = pfbc.getApplicationSettings();
addActionListener(this);
log.info("(LoginScreen) URL: " + getUrl());
}
01-13-2011 06:00 AM
I will confirm that it works (for now......)
Thanks everybody!