BlackBerry Facebook SDK v0.4.5

Hello

I try to use the v0.4.5 BlackBerry Facebook SDK available here: https://sourceforge.net/projects/facebook-bb-sdk/

I can not connect, the API keeps redirecting to the login screen initial Facebook and throwing this exception: "FacebookException: failed to refresh the access token.

I have the same problems with previous versions v0.3.5 and v0.4.2.

I experience the same problem with the example of "Strawberry" and with my own implementation.

I experience the same problem with the Application Test Facebook ID and my own ID Facebook Application.

I encounter the same problem when connected wireless and Wifi connections. When connected via Wifi to the connection string: "; interface = wifi' is correctly added to the url.

Please send some tips on what could be causing my inability to connect to Facebook.

-Thanks, David

I upgraded the Version BlackBerry OS v5.0.0.449 to v5.0.0.884 (Bundle 1476) Web: http://us.blackberry.com/apps-software/devices/#tab_tab_update.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Facebook sdk problem view the status

    I want to integrate Faebook with my Blackberry app. To do this, I downloaded the Facebook SDK for Blackberry(). I use the following code to display the user status ' FB.

    String NEXT_URL = "http://www.facebook.com/connect/login_success.html";
    String APPLICATION_ID = "xxxxxxxxxxxx";
    String APPLICATION_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ';
    String [] PERMISSIONS = Facebook.Permissions.USER_DATA_PERMISSIONS;

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

    try {}
    User user = fb.getCurrentUser ();
    String result = user.publishStatus ("Hello world!");
    If ((résultat! = null) &! result.trim (.equals(""))) {}
    Dialog.Inform ("publish success.");
    } else {}
    Dialog.Inform ("publish failed.");
    }
        
    } catch (FacebookException fe) {}
    fe.printStackTrace ();
    }

    The newspaper is successful, it is return to my application correctly and get the details of the user in JSON also. But when publishStatus() is raised, the process is failed. Here are the details of debug on publishStatus() operation window.

    2012-02-07 10:46:51 [INFO] HTTP POST (TCP WIFI): https://graph.facebook.com/xxxxxxxxxxx/feed;interface=wifi
    2012-02-07 10:46:51 [INFO] HTTP-POST response: 403 Forbidden
    2012-02-07 10:46:51 [INFO] HTTP POST body: text/javascript; Charset = UTF-8 (0)

    What is the reason behiind the 403 forbidden error? Is the access token should be with this above URL? If it is, how to integrate it?

    Use this table to permissions

        public static final String[] ALL_PERMISSIONS = new String[] {
                Facebook.Permissions.USER_ABOUT_ME,
                Facebook.Permissions.USER_ACTIVITIES,
                Facebook.Permissions.READ_FRIENDLISTS,
                Facebook.Permissions.READ_STREAM,
                Facebook.Permissions.FRIENDS_ABOUT_ME,
                Facebook.Permissions.MANAGE_FRIENDLISTS,
                Facebook.Permissions.PUBLISH_STREAM, };
    

    This works for check it out you.

    or

    String [] permissions = Facebook.Permissions.ALL_PERMISSIONS;

    Check this one out.

  • Browser BlackBerry facebook SDK login error

    I recently spent to use the SDK Blackberry facebook pot to using the source code of projects (excerpt from the tag that the pot was built in)

    .

    Since this switch, I've known browserfield problems:

    On a device, the load chart persists until I have regularized.

    On a simulator, I see:

    "Error calling content for.

    https://www.Facebook.com/dialog/OAuth?scope=user_about_me, user_activities, user_birthday, user_educati...

    Null error message. »

    where APPLICATION_ID is my correct application ID.

    The URL above will open fine in my PC and even on the browser Blackberry browser when stuck and I debugged for some time by the source of the facebook sdk and found that the earphone returngs browserfield "error: [URL]" when he tries to load the content.

    Has anyone seen similar behavior with the source SDK Blackberry code before?

    Unfortunately time did not allow me to analyse the sample with our tools or to implement the Blackberry eclipse for the trial or the other plugin.

    I went back to using the pot and put in place 2 draw up profiles for 5.0 + (including pot) and pre5.0 (does not include jar).

    Thank you

  • BB Facebook SDK question integration.

    Hi all

    I joined BB FB SDK in my application. I had previously also included FB SDK in other applications and it worked fine. Once he took back me to my application, in previous applications. But in my current application, the behavior is not even. I met 2 different scenarios:

    1. After you have entered the user name and password, rather than return to the application on a successful connection, it displays a page containing "Facebook" as a header and request to the user permissions for the application, and when you click "OK" displays a page containing the profile picture and button of type parameters and the content of the page is not clear.

    2 another scenario is that I get a server 500 error, which is the same question as in the following link:

    http://StackOverflow.com/questions/16181928/Facebook-BlackBerry-SDK-error-500

    Kindly let me know what could be the cause of the issue. That's the problem with the settings of the application created in Facebook. Please provide a solution. Thanks in advance.

    I was able to reesolve the issue by following the steps in the answer in the following link

    http://StackOverflow.com/questions/9663228/BlackBerry-Facebook-SDK-prob-for-OS-7-0

  • BlackBerry Facebook prob: impossible to select the right descriptor transportation

    I use Blackberry Facebook SDK (FacebookBlackBerrySDK - v0.8.25.jar) for the integration of facebook for my application. I use the following code.

    ApplicationSettings = new ApplicationSettings (NEXT_URL, APPLICATION_ID, APPLICATION_SECRET, PERMISSIONS);
    Facebook fb = Facebook.getInstance (ACE);
    User user = fb.getCurrentUser ();

    I tested the app in OS 5.0 and Device Simulator and Simulator for OS 6.0. It works very well. But when I test the same in an OS 5.0 device, it gives "unable to select the good descriptor of Transport." What can be the problem behind it? Is it related to the device? How to solve the problem?

    There is problem of SMEs of the internet unit. I solved the problem. Automatically that the problem facebook is resolved.

  • How does the Facebook SDK? How to integrate it?

    Hello world

    I have download the sdk facebook for blackberry from this site http://www.baskoro.web.id/facebook-blackberry-sdk.html. I got the code FRO MCet site above and 'Strawberry of Blackberry' facebook application works very well in this SDK. Then I changed the Application, Application Secret id ID and key of the application to point to my facebook application... This newspaper on the page but when I fill my email and password, and then click Open a session., it gives me an error see the dialog "!" "Error: not found 'secret' JSONObject"

    Debugging a little informed me that the line of code

    settings.sessionSecret = response.getString ("secret");      getSession() method in Facecontext.java is null.

    I am a beginner and don't know what it means

    Help, please

    Thank you and

    Concerning

    Hello..

    You must change the type of application natively in your facebook application settings...

    Access your facbook application settings...

    It is in advance, tab or browser (I remember exactly the research in both) you will find the Type of application simply change it to "Native"... and save the settings.

    and run your application, it works perfectly...

    the secret key will be granted only for native applications.

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

    If you find the solution, please press kudo...

  • integrate Facebook SDK with Blackberry5

    Hello friends,

    I want to integrate Facebook SDK Blackberry 5.0,

    How do I do this... ?

    I'm looking on the internet but I didn't right article... I want the Basic also steps.,.

    designates the collection etc. access token.  Is it necessary to BrowserField2... ?

    How to integrate the BrowserField2 or any other area...

    Please help me...

    Thank you.

    Nilesh

    Hello

    In the above link, click

    Facebook SDK resources

    you will then get the samples...

    Kind regards

    Lakshman K

  • Facebook SDK

    Hi guys, I was wondering if someone built a facebook SDK like the ones android and iphone to blackberry. Any information would be a great help. Thanks in advance.


  • Facebook SDK problems

    Hello

    I do an application which must be connected to facebook, and I have several problems to do this.

    I use the facebook SDK package.

    Conversation on what already happens in http://supportforums.blackberry.com/t5/Java-Development/Facebook-SDK-problems/td-p/730881

  • How to submit the app for BlackBerry World who thrive on BlackBerry native SDK

    Hi all

    I am complete create application on BlackBerry native SDK and want to deposit app World de BlackBerry. But I didn't know how to prepare the file to submit.

    Could you suggest how to do it please?

    Kind regards

    Nutthakorn

    you build the "device-Release" project, which creates the bar file in the folder "release".
    This file must be signed and submitted.

  • How to get the friend list and their IDS in the integration of Facebook using Facebook SDK

    can any body send me the code
    How to get the friend list and their IDS in the integration of Facebook using Facebook SDK
    I did after connection and wall

    Welcome on the support forums.

    Please check the strawberry sample that ships with the SDK

  • Target value again Blackberry Messenger SDK

    Hello

    I'm new to BLackberry Messenger.

    I download the latest version of the SDK that is available two days ago.

    as indicated in the RFSO for Blackberry Messenger SDK I create the shortcut for the run.bat file...

    in the doc told them to add text in the target in the Properties window.

    my current goal is as below:"C:\Documents and Settings\megha.sanghvi\My Documents\Downloads\BBM SDK Beta 4_03_10_2011\MDS Simulator\MDSv3.5.3\sdk\mds\run.bat"

    How to add

    Just add after the current Destination...

    as-

    "C:\Documents and Settings\megha.sanghvi\My Documents\Downloads\BBM 4_03_10_2011\MDS Simulator\MDSv3.5.3\sdk\mds\run.bat Beta SDK"

  • Facebook SDK does not not for 2 days.

    Hello

    I've implemented facebook sdk in my applications, but there is no response means I connect on facebook at that time there redirection to the success page but then then close no means this jet of the error {bed ask} time 400 so there is no chance to know if it's working or not. And I also post on Facebook, but there is no answer this work before 2 days so I'm very tired to search.

    So help me.

    Thank you.

    Hi guy,

    Today I try but same error up so I think that this problem of Facebook because I have come to connect to this page of browser time and after they redirect to the success page so page success also come and that time a call to url to get the AccessToken.so this accessToken not at this time and gave me a message that it is invalid format and I copy url and display in the browser at the time given respond me to 200 and also get the AccessToken so I think this problem to Facebook, because before a few days ago it works very well. And also I send to Facebook but there is no answer, so I'm very tired for that.

    Thnaks.

  • Facebook SDK problem

    Hi guys,.

    Yesterday, I downloaded the Facebook SDK http://sourceforge.net/projects/facebook-bb-sdk 0.8.16 and successfully integrate into my application and it worked perfectly fine for me.when I tried to use it today it newspaper successfully and pressing the post, the result is the validation fails.

    I changed the facebook account and tried again it worked, but with the first account (I used yesterday), it is not show.

    Do we know why?

    What I will do to overcome this problem?

    Thank you

    Resloved!

    All applications have a limit of validation by the user that changes based on the number of users demand.

    1. log into facebook
    2. visit http://www.facebook.com/insights/
    3. Select your App
    4. click on diagnosis
    5. search the assignments tab.

    For your particular App it says: "based on the issuance of user affinity for your use of Facebook Platform apps, through their interactions, your application is allocated some capabilities and limitations. It is the feature currently allocated to your application. These values will change over time depending on how users interact with your application. All the integration points have a set of limit values and the bucket of threshold column tells you which of these buckets of limits, your app is to this point of integration. Bucket 1 is the smallest bucket allocation. »

  • Send and receive text messages (SMS) - BlackBerry 10 SDK native

    Hello

    I'm new to blackberry 10 sdk native development. I want to develop a BB10 application that allows to send and receive SMS messages. I work in cascades qml with javascript and c ++.

    Thank you best regards &,.

    Venkatesan.R

    Welcome on the support forums.

    about sending, you can check
    http://supportforums.BlackBerry.com/T5/Cascades-development/sending-SMS-example-code/TD-p/2105749

    If you use the search box at top right you can often find other discussions on the subject you are interested and may solve your problem without waiting for an answer.

Maybe you are looking for