Skip to main content
June 22, 2011
Answered

Photo editor app and share via Facebook option

  • June 22, 2011
  • 3 replies
  • 1013 views

I'm going to build an app that will enable users to edit their photos (in different way than built-in photo editor apps) and then upload in on Facebook.

My question is - is it possible to use OS functionality to "share via" Facebook directly from AIR, so if Facebook is already configured on a device it will use it's settings to log in and upload a photo.

Or I will need to use Facebook Graph API and do all that work myself from the scratch? This would obviously mean that even if a user has already configured a native Facebook app to use it's login details, they will need to be enetered to my AIR app again?

This topic has been closed for replies.
Correct answer

Actually, no you don't have to make the user sign in again. It's called single sign on.

Check out this:

http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html

Although I will say good luck - I have had no luck at all getting the mobile version of the API to work at all.

3 replies

Correct answer
February 3, 2012

Actually, no you don't have to make the user sign in again. It's called single sign on.

Check out this:

http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html

Although I will say good luck - I have had no luck at all getting the mobile version of the API to work at all.

April 23, 2012

Hi Dmennenoh, thanks for the link. It actually worked for me on iOS, app is being authenticated in the native Facebook app and then gets focus back and I'm able to use Facebook Mobile AS3 API to make facebook calls. Now the question is if anyone has got Single Sign-On working on Android? I would thing it shouldn't be much different, I guess the key problem is getting the native extension to check whether the native Facebook app is installed.

June 22, 2011

You need to use Facebook's API and cannot communicate with other Apps yet. And indeed, you need to reenter login information then.