Facebook Blackberry SDK; cannot update status or post it on the wall

Good afternoon!

I downloaded the most current Facebook-bb-sdk from SourceForge, but can't make it work.

It seems to be ok sign, but I can't get any action edition in order to work. I installed the JARS as indicated in the readme.pdf, but the version that I downloaded does not include the sample application Strawberry and there seems to be no other downloads available. I, however, managed to find a project obsolete Stawberry, but it did not help (too old, maybe).

In any case... Here is the code relavent which is attached to a button action:

String NEXT_URL = "http://www.facebook.com/connect/login_success.html"; // also tried http://m.facebook.com/login.php
String APPLICATION_ID = "my-application-id-is-here";
String APPLICATION_SECRET = " my-secret-decoder-ring-code-is-here";
String[] PERMISSIONS = Facebook.Permissions.USER_DATA_PERMISSIONS;
ApplicationSettings as = new ApplicationSettings(NEXT_URL, APPLICATION_ID, APPLICATION_SECRET, PERMISSIONS);
Facebook fb = Facebook.getInstance(as);

try {

   User user = fb.getCurrentUser();
   Dialog.inform("FB Name:" + user.getFirstName()); // this does indeed give me the correct authenticated user
   user.publishStatus("Hello world!"); // this does not publish my status update. boo

} catch (FacebookException e1) {

    e1.printStackTrace();
    Dialog.inform(e1.toString());
}

As mentioned, login pages happens, I connect... and then I expect my status update to happen, but it never appears on my FB page. If I hit the button again, no login page shows (of course because I'm already authenticated), but no position shows no more. The dialog box I have arise watch the right user. I'm out of ideas.

Any help is VERY appreciated. Thank you!

Welcome to the forums!

To start, you receive an exception when you try to post a new status? What a stack trace in your console?

Tags: BlackBerry Developers

Similar Questions

  • Cannot update Windows Vista kb971468 due to the error message 800B0100__

    Cannot update Windows Vista kb971468 due to the error 800b0100 of message

    Error code when you try to use Windows Update or Microsoft Update to install updates: "0x800B0001":
    http://support.Microsoft.com/kb/958045

    Vista SP1 or SP2 installed?

    What application or antivirus security suite is installed and your current subscription?  What anti-spyware (other than Defender) applications?  What third-party firewall (if applicable)?

    A (another) Norton or McAfee application has already been installed on the computer (for example, a free trial version which is preinstalled when you bought it)?

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language.

    KB952155 Setup Error.

    While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language. Now, that - what it means and how can I fix it? I have installed SP3

    Eivind Aakhus Hello,

    If you have the latest version of Office installed on your computer remotely, then you need to enable the Active X control.

    Follow these steps to activate the ActiveX module.

    a. open Internet Explorer by clicking the Start button, and then click Internet Explorer.

    b. click Tools, point to manage add-ons and then click Enable or disable add-ons.

    c. in the list view, click to view all ActiveX, ActiveX controls downloaded controls.

    d. choose the one you want to activate, and then select Enable.

  • BlackBerry smartphones cannot update Apps in Appworld on desktop, get the message "disable content protection."

    Hello

    I have the BB Pearl 9100 with OS 6.0.0.723. I try to update/install Apps via the desktop, but every time that I try to do that I get a message "content protection is enabled on the device, please turn it off & try again.

    But the content protection is disabled in Options-> Security-> Encryption (the device memory & Media card both are disabled for encryption). I disabled all the options out there, but still, I get this weird message which is not let me update my applications.

    Help, please!

    Thank you.

    Cama1979

    Try to reset the BB by pulling on the battery or restore factory settings
    First try a battery pull (remove the battery with power and wait about 30 seconds and then replace the battery in the camera) and then try to install it from App World. If that fixed it, try to go through some steps below.

    http://BTSC.webapps.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB18998

    You will also need administrator rights on your PC (Windows 7) to install the plugin.
    If not try this

    Create a new user account on your computer with ADMINISTRATOR privileges and download the latest version of your favorite browser, Chrome or FireFox

    Now, go to this Web site
    http://appworld.BlackBerry.com/WebStore/

    You be asked to download the PlugIn once again.

  • BlackBerry smartphone app update will not be installed. install the old version.

    I am trying to install an update to an app from appworld and I continue to have the old version installed not a new one.

    How can I work around this. BTW, it's a paid app, and the people who got to crackberry have not all wrong.

    BillJ

    I tried to install the app from appworld on my phone app. and it would just reinstall the version on the app that was there. There was an update of the application if you searched FRO the app themselves as the current version, but when I downloaded and tried to install it, it would install the previous version. Hense the post.  In the meantime, I went to appworld on my pc and pulled up to the app and it showed the correct version ther so I dl by using the QR Code the phone installed the old version AGAIN!  It was after several reboots uninstall install ect.  Well the last time I returned to my world on appworld on the phone and here when I clicked on the application, it has shown that an update is available for the version that I had just dl less than 5 min prior. The phone have not installed the new version, he installed former and placed the new in the updated Guide. I ran the update and everything is working normally.

    I've been a beta tester of this app, so I knew how to work the thing. Also I was in corenspondence with the proponent during all of this also. Being that I had also paid for it didn't help my mood when he wasn't working.

    So to summarize all is well in Mudville.

    I guess it could be a bug? I've been known to find things or be the first to find something strange on. It happens fairly regularly to work, just today, I found a.

  • I had problems with e-mail and reset my Apple ID and password.  I can log into my account using the new ID but cannot update apps on my iPad.  The ID has not changed on the iPad.  How can I change my iPad ID to reflect the changes made to my account?

    I recently changed my email ID of iPad.  Change shows when I go online from Apple, but I can't update apps on my Mini, because the ID is still the old.  How change/modify my ID on my Mini?  Help!

    As long as you have changed e-mail address * location ID and the id not create a new ID - settings > iTunes & App Store > Apple ID (tap the ID that shows) > Sign Out. Then log in with the ID changed.

    What to do when you have changed your Apple ID email address or password - Apple support

  • BlackBerry smartphones cannot update BlackBerry Curve 8520 5.0

    I am a new BlackBerry user, then I begin to use Curve 8520 version 4.6.1.314 4.2.0.135 with 22519E9E PIN platform. I am located in the Philippines and my provider is Globe Telecom. My problem is that I can't update my device to 5.0. I tried using the desktop software first, and I get a message that my device is the latest version of the software. Then I tried to use the update of the web and this time I get a connection error message and finally I also tried the other Option which is to download the software for device supported by my provider, I saw three options and downloaded them all and then install in my PC (two v4.6 and a 5.0). Then I start my desktop software, but this time I had an option to update my device 4.6. I want it's upgrade to 5.0 so I tried again through webupdate, but I'm also the option to upgrade to 4.6. I tried to delete the folder for sharing of Research in Motion folder search in program file folder/Common leader/research in motion/shared then tried to update again via deskstop and web / two 4.6 version but I got the same result at my first attempt to update my device... I really need someone to help me with my problem. I am unable to install facebook 1.6 and unable to connect to YNM applicatio that's why I wanted to update my device to 5.0. I would appreciate any help... Thanks in advance...

    You can use a device OS from another carrier package - just something. But... things you said intrigue me. You know for certain that you have a Blackberry data plan in place on your BB? This is crucial... without the correct data plan, nothing you try will not work, including (like me) try to install and use the device OS v5.0. Please check with your provider you have as good data plan then that allows access to all the functions and features of the Blackberry Internet Service. The messages you see tell me that you do not have access to BIS.

  • BlackBerry smartphones cannot update Curve 8520 from V4.6 OS OS V5.0

    I tried the update from blackberry website. At the launch of the Application Loader, it provides only with the option of maintaining my OS and downgrading my OS for older 4.6.1 version.

    I've used the exact steps on an another Curve 8520 and I had successfully upgraded the operating system! After that the upgrade was successful the first phone, only tried the second phone upgrade. Is there something I did wrong the second time around? I hope to get help, thank you!

    Good.

    Make a backup of your device first, using Desktop Manager > backup. Close the office at the end Manager.

    1. download the OS files to the PC then install on the PC by running (double click) the downloaded file.
    2. go in c:\program files Research in motion\apploader and delete the file named "vendor.xml."
    3. plug in the BB and double-click on "Loader.exe." It is located in the same place as the above vendor.xml file.

  • Cannot set up email, cannot update, link DND flame page of the most recent of the construction works, etc.

    Got the flame's last week with the pre-release v1.3. No OTA update yet. Email a/c configuration always returns the error msg "invalid username or password. check typos', even through manual settings for IMAP.
    Tried to update the latest releases, link on DND page does not have me, so I tried that night relies by downloading the zip of Gaia and b2g. Cannot find the script .flash file, tried to run run - mozilla.sh file, but does not run. Tried to start in "update of the Asian Development Bank" unit and "adb sideload run - mozilla.sh" that starts the process, but gives the error msg ' signature E unaudited installation abandonment of the. AM of ADB tools running on an openSuse 13.1.Please advise.

    Have you seen this link?

    https://developer.Mozilla.org/en-us/Firefox_OS/Developer_phone_guide/flame#Updating_your_Flame_to_a_nightly_build

    He explains how install a night generation on the device of the flame. shallow_flash.sh is also provided.

  • update status main table based on the table of detail

    Hello
    using Jdev11.3
    I have the following problem:
    table main ServiceCall with attr (id, createdBy, status), or by status (running, closed)
    table ServiceCallDetails of detail with attr (id, serviceCallId, Statuc) who are status (running, closed)

    the requirment is to update the status in Master table to be closed if and only if all the Status in detail are closed.

    I try to achieve this by implementation method in EntityImpl to get accessor lines but I can't.

    any help
    Thankx

    You can try to use something like this:

    RowSetIterator it = getViewObject () .createRowSetIterator (null);
    IT. Reset();
    While (it.hasNext ()) {}
    your logic
    }
    it.closeRowSetIterator)

  • Update status of appointment based on the end time

    Is it possible to automatically update the appointment as "Completed" status when it exceeds the end time or the next day of the end time.

    Users does not change the State and most of the State of the appointment system shows it as being 'In progress' in the elements of completed activity.

    Thank you!

    I guess it's possible in R17 using time based workflow.

    Edited by: @$m! March 10, 2010 16:07

    Edited by: @$m! March 10, 2010 16:09

  • Cannot update my Firefox and some of the programs say I have

    You TUbe is saying that I'll be able t0 access it if I do update my firefox and when I'll update the page and click on date, nothing happens. I did this several times in the last two days, but I do not get a dialog box or anything either and whenever I click update it is as if an update of turning web page leads me to another page, then another and then back to update.

    That is what this forum "reading", as the browser you use to start this thread.

    User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; RV:1.9.2.2) Gecko/20100316 Firefox/3.6.2 GTB7.1 AskTbWCLV5/3.15.25.44892 (.NET CLR 3.5.30729;.) NET4.0E)

    Both the Ask Toolbar and Google toolbar extensions can be 'locked' your User Agent string on the old version of Firefox 3.6.2 and each site that go you will think that you use Firefox 3.6.2.

    http://KB.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

    Type of topic: config in the URL bar and press ENTER.

    If you see the warning, you can confirm that you want to access this page.

    Enter general.useragent in the filter at the top line.

    Do a right click and Reset for any preference that appears "BOLD" and is "the user's game."

    Then restart Firefox.

  • Corsair POWER supply update does not post, powers of the powers of 5 seconds down and loops...

    Have the HP Pavilion Elite m9650f with motherboard replaced in April 2012 class good to go.

    Replaced the stock GPU Nvidia GeForce 9800 GT with a Zotac GTX 560 Ti GPU and

    the stock HP 460 Watt power supply with a W0388RU Thermaltake TR2 600 Watt PSU in may 2012.

    All goes well until October 2012.

    PC randomly starts shutting itself off the coast and not feed until I have unplug the power cord and wait 5-10 minutes.

    Finally, he stopped turning on all together.  Reinstall all power PSU connectors, etc.  same result.

    Removed all cards, etc, same result.  Cards reinstalled one by one, etc., same result.

    Reinstall the stock HP 460 Watt PSU, now everything works fine.

    Thought it was a premature failure of Thermaltake PSU.

    Bought and installed a Corsair CMPSU - 850TXV2 850 Watt power supply for a few days but still not good to go.

    Lights, fans spin, but no MESSAGE, no video, tracks for all

    5 seconds, stops, turns on itself over and over again.

    Reinstall all power PSU connectors, etc. same result.

    Removed all cards, etc, same result.  Cards reinstalled one by one, etc., same result.

    Reinstalled the HP PSU stock, now everything works perfectly again.  ?

    Spends hours reading the forums...

    Some say that the RAM may not report correct voltage for power supply.

    If so, what can I change RAM voltage in the BIOS?

    Others say reset CMOS I did, same result.

    And someone on this forum HP thought that perhaps the Pegatron IPMTB-TK

    Card mother Truckee can only accommodate up to 750 Watts POWER supply.

    Any ideas?

    Can I get away with just using my HP 460 Watt power supply after all stock?

    Thank you.

    I have an additive to add to this topic.

    To refresh, my questions focus on a possible shift of the power supply and card mother specs:

    What is an ATX 12 v 2.0 and above technical problem or a power CAP problem?

    I posted my questions on the Forum of power SUPPLY Corsair PSU

    at the same time and I paste it here now, a response

    to GUY of RAM.

    "Hey RAM GUY."

    Sorry I couldn't answer until now.

    Please specify the difference between the ATX 2.0 specification and 2.01

    Spec that the negative - 5 v Rail is not present in the 2.01 spec and

    beyond.  As I mentioned previously, the Thermaltake PSU that has been

    running in my 2009, HP i7 tour for 7 last month said 12 volt ATX 2.2

    on the case and even if the power supply HP OEM said 12 volt ATX

    2.0 in the technical literature, that I found on Google, the real PSU I have does not work

    have any note on the case ATX specification.  So I think it's safe to say, my

    motherboard does not have the negative Rail v-5 at which he played

    nicely with 12 volt ATX 2.2 spec, until recently.

    Although theoretically it is supposed to be no limit on the amount of

    Absorbed power, you can use to power your motherboard, the motherboard because

    is supposed to use only what suits him and cap the rest, it seems that the OEM

    can dial up limitations of power if they deem necessary.

    Could be as simple HP, without wanting to compete with some of his HPs

    Professional workstations, caps so power on some Pavilion Elite

    Series models to prevent them from becoming a much cheaper

    solution.

    In any case, I think that all the available information, digested, he does not speak

    Specification of the ATX, but rather my motherboard HP has a limit of 650 Watts of power

    If I think that I read that someone else got the same motherboard goes with

    750 watts, but I do not remember where to find this announcement. »

    I'm back and Yes!

    Thanks again Lasvegaswireman!

  • Cannot update iOS 9.2.1 on the air of the iPad 2

    Update iOS 9.2.1 for UN-athorised fix comes out. Working victory over 6s but fail after downloading and during treatment on Air2 iPad download using iTunes. Everything an els having this problem?

    Yes... it keeps telling me that the download has been altered.  It's the Apple software... what's up with that?  My Network works fine.

  • BlackBerry Smartphones device update to v5.0 froze restart the phone

    Hello

    I was upgrading the software of my Blackberry Bold 9000 to v5.0 on my PC using the USB cable and it froze on the stage of "reboot" (he completed the backup, then the installation step), it is said (on the progress of the computer window) it is extended connection to the device, but it has been like that for 4 hours now. The phone is frozen on the screen to start the business, I have not disconnected from PC since it says that doing so can unusable device, and also if something was wrong, I would like to restore my data from the backup of automatic upgrade. Can someone help me?

    Thank you.

    Since the installation process froze and more, simply on restart - I tried rebooting several times-and then I rebooted the phone on the safe mode and woila. Phone has finally worked and finished upgrading (it was still plugged in). Omxter thanks for your reply.

    Problem solved!

Maybe you are looking for

  • When I press the button Add card on my phone app here is I get the error message

    Hi thanks, my cards have been on my iPhone 6plus for quite awhile. I recently bought an iwatch series 1. Watch and phone software is up to date. My app to watch on my phone recognizes my cards when I press the map button Add on my phone app here is I

  • I need to change my details for iCloud on my iMac.  How do I do that?

    When I bought a new iPhone at the Apple Store in Exeter, an Assistant helped me set up the phone but I could not remember my password for my Apple ID.  I have four e-mail addresses.  My new iPhone has an Apple ID with e-mail to and works perfectly bu

  • Can LabWindows libraries call function inherited from read the Datalog file?

    We are currently updating some old software written in LabVIEW 6.0.3 to Java. One of the features of the original software is to create data files using the function "Write Datalog" and also remind these databases later using 'Read Datalog'.  To main

  • dv5-1150us don't start

    I recently installed a windows vista service pack 2 update on my laptop, and once it was full I had to reboot my computer for updates of kick.  When restarting, my cell phone was on stage 2 of 3 to complete the installation of update for the death of

  • Building Windows live movie post not highlighted the youtube button

    Publis for youtube button is useless.  I created my video in Windows Live Movie Maker and clicked on youtube, filled all the fields, but the button PUBLISH is not highlighted, and I can't at this stage.  I tried two different sizes.   All of the sugg