Air and facebook

Hello,
I have a litlle problem while trying to upload feeds and pictures and video form my application to facebook.
I success on connecting to facebook, but when I try to upload stuff, that fails, and whithout any error message so I can't debug.
I follow the sample in PhotoUploader_AirDemo but it fails.
Here is the code I use for the upload of a picture:
//listeners for connecting to facebook
private function handle_connect(event:FacebookEvent):void
facebookSession.validateLogin();
//Publish a text or a picture or a movie to facebook
public function shareToFacebook():void
facebookSession=new FacebookSessionUtil("**********","********",stage.loaderInfo);
facebookSession.addEventListener(FacebookEvent.CONNECT, handle_connect);
facebookSession.login();
snapshot=new BitmapData(400,300);
snapshot.draw(this);
image.source=snapshot;
fb=facebookSession.facebook;
fb.post(new UploadPhoto(snapshot,"", "me at work"));
If someone has an idea or a code that works, that will help me a lot.
Thanks
Julien

Try the Playbook AIR developer forum.
Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

Similar Messages

  • TS3408 I have a MacBook Air and suddenly Safari cannot find the Facebook server. I am out of my home country but no problem with my iPhone. Laptop was no problem either until now. Any recommendation?

    I have a Mac Air and suddenly Safari can't find the Facebook server. I am out of my home countryt but no problem with my iPhone's Safari. Any recommendations? I would like to put some pictures on Facebook from iPhoto. Thanks.

    you cannot keep up with all of the interfaces 'cause they do not even allow you to use the older os.
    You should be able to upgrade to Mountain Lion via the App Store applicaiton on your Macbook Air.   You do not have to upgrade, but it should be an option.
    I can't even get an ichat acct 'cause, help?
    iChat can use AOL Instant Messenger accounts (they are free), iChat can use Google Talk (Jabber) accounts (actually any Jabber based chat service).   And if you upgrade to Mountain Lion, you shoul be able to get an Apple iCloud account that can be used with the Messages replacement for iChat (think of Messages as being iChat renamed, with additional features).
    Oh and my battery very close to a year after buying it, which is one of the reasons I was so called to it, the battery life.  Well, having it stripped down to minimal usage, while working on nothing crazy, I could be cordless from nevver reahing 100% anymore, just under that, but gets to 20 percent in about 3 hours. No audio, no video, light low, it bothers me anyway.  Please, this is also a huge problem.
    Every battery today, has a limited number of recharges (not just Apple's).   Depending on how many times it has been recharged, will affect how much power it will eventually hold. <http://www.apple.com/batteries/>
    I know that generally after about 2 years of use (my use, not yours) I find that my batteries have very little life left in them (I frequently have my devices plugged in, so running fully on batteries only is most likely less than yours).
    You can have your battery replaced by Apple (for a fee) or by an authorized Apple repair facility.

  • I have an apple ipad air and I'm having trouble selecting pictures on Facebook and when I open my music and select a song it plays the song two songs about it in the list

    I have an apple ipad air and I'm having trouble selecting pictures on Facebook and when I open my music and select a song it plays the song two songs about it in the list

    Two songs above it In the list sorry

  • I have an Ipad Air. I have tried posting videos from Ipad (that I have saved from Nikon & I have taken with the Ipad Air) to Facebook but I am getting a pop up that video is too small and needs to be at least 1 Kb. The videos are at least 30 seconds.

    Do I need to change a setting?  Thanks

    I have tried to post the video from the video itself and also I have tried on the Facebook app and Facebook.com.  I go to select video, then I write something about the video.  It's showing the video attached before I even "post"to Facebook.  Then I hit post and that's when I get the pop up that the video is too small. 

  • Wi-fi and Facebook photos problem on iOS 6.0.1

    I have a MacBook Air and and iPhone 3GS. Over wifi connection strange things happen when I use Facebook. I cannot see images on my timeline from firends and I cannot even see some of my photos. I've tried both secure and unsecure connection through Facebook account settings but nothing changes. Videos on the timeline won't play either. When I switch to 3G on my phone everything is fine. What could be the problem I cannot find out. Until a few weeks ago it was normal. Has anyone else experienced a similar issue?
    Thank you.

    GTR_Lover wrote:
    Maybe you just lucked out but both my devices running ios 6.0.1 have wifi problems shutting of at random times during sleep. I know you guys will say when its plugged in it doesn't lose wifi true but I never remember having this problem in the previous ios verison from ios 4 to 5(On my Iphone 4, and from my Iphone 4s from IOS 5) until I updated both devices to ios 6  or even when I had a iTouch 3rd gen long time ago I never remember it shutting of my wifi. I am telling you this never happened before IOS 6 where I need to leave it plugged in just to have my wifi during wake up.
    GTR
    I thought I believed my iPhone 4 with iOS5.0 would not disconnect during sleep mode. However, I was wrong. What I did was to ping the IP addresses on my iPhone 4 (iOS5) and iPhone 5 (iOS 6 then, and iOS6.0.1 now) when they were in sleep mode. Very true that there were timed-out on both devices. Once I woke them up, ping went thru. I did a scan on my home network using my iPad while the other 2 phones were in sleep mode, I was not able to see them.
    I thought my iPhone4 did not disconnect too. But again, I think the reconnecting to wifi on iOS 5 is SO MUCH quicker than on iOS6 so user would think there was never a disconnect.

  • I have a MacBook Air and recently downloaded the new operating system. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it?

    I have a MacBook Air and recently downloaded the new operating system, 10.10 OSX Yosemite. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it to the I Photo slideshow?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Notification Center Twitter and Facebook Buttons Unresponsive

    The past few days notification center has been acting up on me. If I click the twitter button nothing happens. The same goes for the Facebook button. I've forced notification center to reset via activity monitor and have rebooted my macbook pro. Any ideas?

    I know the ans...first install os x mountain lion again above all your installation..then see the build it should be.. (12c60) then..update every thing..but dont install or update..."update for macbook pro and macbook air 2.0 "it is the culprit ...then hide that update..and remember to install offline version of combo and supplement update 10.8.2..ok..as sometimes when ur notification cetre not work then installoffline "combo and supp" updates...ok..REMEMBER NOT TO INSTALL MACBOOK AIR AND MACBOOK PRO 2.0 UPDATE...PLZ...AND USE UR SYSTEM...!! follow me https://www.twitter.com/ankit8083   https://www.facebook.com/ankit8083...good luck..DONT CHANGE UR BUILD..AS IF U WILL CHANGE IT THEN UR SHARE BUTTON WILL NOT WORK..IN NEW BUILD..!!And wait for apple to get new build after april 2013...but not download macbook pro and macbook air 2.0 update..which help in graphical improvements and some usb devices...!!

  • Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Hi
    Yeah got onto that but it won't load up anything readable. It just produces a little annimation of 35mm film strip and when you click on it - nothing. All you end up doing is clicking on the X in the top right hand corner of the annimation and deleting it. Really frustrating because uploading from the iPhone is simple, but I've deleted it off that and can't get it back from the Mac to the iPone either. Seem to be trapped no matter what i do.
    Thanks for your help though

  • Is apple really giving out Mac book airs on Facebook?

    Is apple really giving out MacBook airs on Facebook?

    dwb ...
    You make it sound like Facebook is spam/pointless/usless/noise.
    How dare you imply that this critical social tool is less than fully factual and useful.

  • GA code and facebook connectivity

    In adobe air when the ga code and facebook connectivity will be implemented.
    if it is possible then please help.

    How do I enable "share my location with facebook"

  • Emails and facebook notifications ...

    Hi,
    I've had my blackberry bold 9700 since the 11th June. Since then i've had troubles reciving emails and facebook notifications. Sometimes they come though but not for a good 15 mins - 1 hour and sometimes they don't even come through at all! does anyone know what i need to do? i tried a new hanset still didnt do it, rang o2 they dont know as all settings are right their end.. anyone? thanks

    So you're not getting any data transfer to device, except when Google Maps is running?

  • Is there a way to create a password protected folder for pictures or lock the photos app? For Ipad Air and Iphone 5s.

    Is there a way to create a password protected folder for pictures or lock the photos app? I want to do this for Ipad air and Iphone 5s. I have other family members that use my Ipad and Iphone and do not want some pictures to be able to be viewed.
    Thanks

    Use 3rd party apps like Photo Manager Pro.

  • TS3988 My wife bought an iPad Air and synced contact from our PC (Outlook), now all our contacts in Outlook have gone and we have to go to iCloud to get them, and even then they are a bit jumbled. How do I get my data back onto my PC?

    My wife bought an iPad Air and synced contact from our PC (Outlook), now all our contacts in Outlook have gone and we have to go to iCloud to get them, and even then they are a bit jumbled. How do I get my data back onto my PC?

    If you can see the iCloud contacts in Outlook, you can copy them back to your PC by selecting all the contacts (click one, then press Control-A), then drag and drop the selected contacts to Contacts under My Contacts on the left sidebar of Outlook.
    If you want to copy your calendar back to Outlook, select your iCloud calendar on the left sidebar of Outlook, switch to the list view (select View from the ribbon, then click Change View>List), select your events (click on a single event, then press Control-A), then control drag and drop them to Calendar under My Calendars on the left sidebar.
    Then you can sign out of iCloud on the iCloud control panel and your local copies will still be there.  If you want to add your iCloud email account back to iCloud, you can do this with these settings: http://support.apple.com/kb/HT4864.

  • I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive?

    I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive in Iphoto?

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Testing Elements 11 on my Apple Air and get lock ups

    I am testing out Elements 11 on my Apple Air and it works well for quick video edits. I just attempted to use the Instant Movie feature and it locks up at 100% and never finishes. I have to Force kill the application. Is this an issue with my laptops capability here is my configuration:
    Intel Core i5
    1.3 GHz
    Memory 4 GB

    lighted
    Thanks for the reply. If the Instant Movie is 30 seconds in duration, I would be less likely to have considered system resources. I was thinking that you had at least a several minutes Instant Movie. But, that factor should be ruled in or out.
    But, there is the possibility of a source format conflict. Also, when you create the Instant Movie, do you click Yes to the Instant Movie request for permission to remove existing effects added to the clip before it creates the final Instant Movie? Or, do you end up with the effects applied to the clip before Instant Movie plus the effects the Instant Movie has applied?
    If you had not already, for troubleshooting purposes, you might want to look at some jpeg photos as source to determine if they behave in Instant Movie as do your present source media for the feature.
    We will be watching for further developments as your schedule permits.
    Best wishes
    ATR

Maybe you are looking for