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
Developer
Posts: 1,006
Registered: ‎05-22-2009
My Device: Not Specified

FaceBook SDK Problem

I downloaded the facebook SDK ,and when i try to run it ,i get the following error as

 

"blackberry\facebook\ApplicationSettings.class: Error!: Invalid class file: Incorrect classfile version".

 

I am testing this in 5.0 Simulator.

 

 

Regards

Rakesh Shankar.P

Developer
Posts: 263
Registered: ‎10-27-2010
My Device: 8520

Re: FaceBook SDK Problem

Hi,

 

 

Please check out the latest version of the SDK (0.3.1): https://sourceforge.net/projects/facebook-bb-sdk/

 

(Note: this version supports OS 5.0 or above only)

 

 

 

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

press 'kudos' if it helps

Developer
Posts: 1,006
Registered: ‎05-22-2009
My Device: Not Specified

Re: FaceBook SDK Problem

[ Edited ]

I am getting error as while launching my sampe code as  "facebook.FacebookException: Unable to refresh the Access Token".What does that mean?

 

I took the JAR File which was updated today.

 

Regards

Rakesh Shankar.P

Contributor
Posts: 14
Registered: ‎04-05-2011
My Device: 8320 Curve
My Carrier: No carrier, only developing

Re: FaceBook SDK Problem

I was able to get around this error by setting the project compliance level to 1.5.   Not sure if this could cause other problems.

Contributor
Posts: 14
Registered: ‎04-05-2011
My Device: 8320 Curve
My Carrier: No carrier, only developing

Re: FaceBook SDK Problem

oh... when I do this I get a no class defined error... so, sorry for jumping the gun there on my reply
Contributor
Posts: 14
Registered: ‎04-05-2011
My Device: 8320 Curve
My Carrier: No carrier, only developing

Re: FaceBook SDK Problem

Did you ever get past this problem???
Developer
Posts: 1,006
Registered: ‎05-22-2009
My Device: Not Specified

Re: FaceBook SDK Problem

[ Edited ]

I am  getting Null pointer exception in progress animation field of the JAR File,

 

Still no break through?

 

and in the console i am gettting same error as

 

[0.0] FaceBookExceptioncom.blackberry.facebook.FacebookException: Unable to refresh the Access Token
[0.0] No stack trace

 

Regards

 

Rakesh Shankar.P

Developer
Posts: 300
Registered: ‎03-12-2009
My Device: Not Specified

Re: FaceBook SDK Problem

was there a solution to this? I'm having this exact problem - only when i have two apps installed with the same facebook sdk i get this error- and i have renamed the classes

Developer
Posts: 38
Registered: ‎06-03-2009
My Device: 9800
My Carrier: Verizone

Re: FaceBook SDK Problem

I am also getting the same error
"Unable to refresh the Access Token" .

I am using Facebook sdk FacebookBlackBerrySDK-v0.8.25.jar

BlackBerry Jre 5.0 Compiler compliance 1.4 Java.

Developer
Posts: 38
Registered: ‎06-03-2009
My Device: 9800
My Carrier: Verizone

Re: FaceBook SDK Problem

[ Edited ]

This is the console output i am getting..

[1271.164] 2012-06-15 10:15:03 [INFO] BF-Navigate:

Facebook Link

 

[1271.164] 2012-06-15 10:15:03 [INFO] BF-Navigate: https://www.facebook.com/dialog/oauth?scope=user_about_me,user_activities,user_birthday,user_educati..._my_appkey}&response_type=token
2012-06-15 10:15:03 [INFO] Access Token not found.

 

 

2012-06-15 10:15:03 [INFO] Access Token not found.