ActionScript 3.0 :: Use Facebook To Login To An Air-application?

Feb 21, 2011

I'm making an air-application in flash professional using actionscript. I was wondering if any of you know how (or if it's even possible) to use facebook to log in to my application. I found some stuff on the web, but I only found stuff to HTML, not actionscript.

View 1 Replies


Similar Posts:


Flash :: Develop New Facebook Application (login,add Photos) Using Api Of It?

Mar 30, 2010

How to develop new facebook application (login , add photos ) using the api of flex

View 1 Replies

Flash :: Adobe Facebook API Facebook.login VS Facebook.ui Popups?

Oct 24, 2010

I'm currently building an application using the Adobe Facebook API and I've run into an issue where for the login method the Facebook login popup displays but when doing a Facebook share/post the popup is blocked.

This code works fine and displays me a Facebook login popup without question (Firefox):

var permissions:Array = ['publish_stream'];

Facebook.login( onFacebookLogin, { perms:permissions.join(',') } );

However, the following code running in the same application throws up a popup blocker (again Firefox):

Facebook.ui( "stream.publish", "popup", params );

Does anyone know of a work around this issue to make the share popup come up just like the login popup?

View 2 Replies

Actionscript 3 :: Facebook Login Handler Doesn't Get Fired In Flex4 Facebook API?

Mar 13, 2011

I have literally spent HOURS trying to solve this mystery... but simply can't seem to get hold of it.
I am using the same code lines (literally!) as the example here (official adobe tutorial) and I get different result.

[Code]...

Everything works fine, i.e. everything till it is time to fire the loggedin event. I get asked to log in and all permissions are asked correctly. After I log myself in to facebook, the loggedin event doesn't fire. Is there any way of solving this problem??

View 1 Replies

Flex :: Facebook Login Using 4?

Jul 7, 2011

I am trying to integrate my application with facebook.[URL]I get no errors or warnings. But when I run my app,on click upon login the login window does not pop up at all..as in nothing happens...No errors of any sort..

View 1 Replies

Flex :: Using A Widget For Facebook Application - Get The Current User's Facebook ID?

Sep 24, 2009

I am using a Flex widget for my facebook application. How can I get the current user's facebook ID?

View 1 Replies

Facebook :: Flash - Post Swf With Parameters To Facebook Via Application?

Apr 4, 2012

I have a facebook application where the user choose 4 of his friends and then it creates a video (swf) with the pictures of your friends in it (loaded via xml). So I need to share this video on the user timeline. Everything works fine but the video is not embedded in the post on his timeline, there is only a post with the link to the page in it.The weird thing is, if I post the url directly on my timeline, the video is embedded, but not if the same link is posted via the application.here is my code called by the share button in js :

function postToFeed() {
var obj = {
method: 'feed',[code].........

View 1 Replies

Actionscript :: Flex4 And Facebook-api : Cannot Login

Jan 25, 2010

I wrote a simple application for facebook and it seems that i fail to login. I created a test application on facebook and i test my application by going to [URL] i have the following function that is being executed after ApplicationComplete event of my main application.

[Code]...

View 1 Replies

Flex :: Login To A Facebook Account From A App?

Sep 7, 2010

I would like to supply an username(mail address) and password to an API method and login to Facebook. Is it possible with the special swc library to access the API in this manner? If not, can you give me some hints on how to do it using ExternalInterface and JS?

View 2 Replies

Flex :: Using The Facebook API After Javescript Login

Sep 9, 2011

This is something I have been trying to figure out, but I am not sure exactly how to do it. I have a flex application that logs into facebook, but after that I can't access any of the facebook api. Right now I am using this HTML to log in:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

[Code]....

View 1 Replies

ActionScript 3.0 :: Facebook API - Login Without Blank Page?

Oct 13, 2009

when the user go to my app page and the swf is downloaded I'm using session = new FacebookSessionUtil( this.API_KEY, this.SECRET_KEY, this.scope.loaderInfo );session.login();... then the system open a new window showing the login form.My question is How can I prevent it? There are some way to log users from my swf?possible solution I can think of: login via PHP, and pass via FlashVars the session ID obteined by PHP, then start a session inside my SWF movie.

View 3 Replies

Flash :: Facebook.login Window Doesn't Appear?

Sep 20, 2011

I have a really strange problem with calling window facebook login from Flash. On my private server facebook api works like a charm, but in my company, where we use very advanced application in flash and windows server the facebook login doesn't work..

I setup the HTML file correctly, I initialized Facebook.init(.. ..) and I call Facebook.login(.. ..) after clicking a button, but nothing happens, totally nothing, zero reaction.. Because Flash right now doesn't give me any errors...

I have checked the connections, and this is my [URL] and it is connecting very well and I can see in debugging proxy that there are connections in facebook. BUT, at my work in [URL] nothing happens, no responses, and connection in flash is the same like in my labs....

View 1 Replies

Actionscript 3 :: Facebook Login Within Flash Without Popup Or Redirect?

Jul 14, 2010

Does anybody know how to handle a Facebook login from within Flash using REST API/FB Connect, without the popup or redirect? It doesnt seem very possible as the login method seems to force the popup.

[Code]...

View 2 Replies

Android :: Using Flex For Facebook Mobile API Login Method?

Apr 7, 2011

I'm trying to implement the 1.6 Mobile Facebook API [URL]into an Air for Android application. I've succesfully used the Web and Desktop API's however with the mobile app it's expecting an extra parameter to a stageReference, see:

login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null)

But, using i'm using Flex and not Flash CS5, i can't just pass in this.stage or this or anything like that.What exactly would you guys think I need to pass into that using Flash builder Flex? I can't seem to find any examples for the mobile actionscript API ?

Here's the login information from the Mobile API Docs:

login () method
public static function login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null):void
Opens a new login window so the current user can log in to Facebook.

Parameters

callback:Function — The method to call when login is successful. The handler must have the signature of callback(success:Object, fail:Object); Success will be a FacebookSession if successful, or null if not.

stageRef:Stage — A reference to the stageextendedPermissions:Array — (Optional) Array of extended permissions to ask the user for once they are logged in.webView:StageWebView (default = null) — (Optional) The instance of StageWebView to use for the login window For the most current list of extended permissions[URL].

View 1 Replies

Facebook :: Displaying MY Public Wall Using AS3 Without User Login

Nov 7, 2011

All I want is to have the latest 3 or so posts from my clients Facebook page to populate and animate in a screensaver that I am building using Flash (AS3).

So far, every time I try to bring anything in, it requires a complete oAuth login and account link, but it's only a one way exchange (read-only, absolutely no writing, posting or even linking, since it's a screensaver) I'm not even sure the client wants pictures or anything.

I am currently trying to use the facebook-actionscript-api, but there isn't an option for the "App Login" type of Authentication that would solve most of my problems.

View 1 Replies

ActionScript 3.0 :: Flash Facebook Login - Cannot Find Class

Jan 30, 2012

I am trying to build my first flash facebook app, using the "flash facebook cookbook". Its instructions are all for flash builder and I am using flash pro. I've downloaded the flash facebook graph apk, and connected the swc, but when I try to login I need to return a FacebookSession object and I keep getting an error message that it can't find the class.

I import the:
import com.facebook.graph.Facebook;
But it's as if the swc connection didn't work.

View 2 Replies

Javascript :: Facebook Sdk Login Dialog Blocked When Invoked From Flash?

Feb 27, 2012

I have a SWF file that calls some javascript which shows the facebook login dialog via the javascript sdk.this all works fine, except for that fact that pop-up blockers block the login dialog, as it isnt invoked from a user action, but from flash.

View 1 Replies

ActionScript 3.0 :: Connect - Login - Post An Image To A Facebook Account Directly From Inside Of Flash?

Jul 15, 2010

Anyone know if you can connect, login, post an image to a Facebook account directly from inside of Flash? I grabbed the Facebook API for AS3 and have it installed, created an application definition on Facebook but am having no look connecting to it? I have seen some refereneces to it only working inside of Flex and am wondering it that's the case. I am looking to do a kiosk application where a camera image will be uploaded directly to the persons FB page.

View 17 Replies

Php :: Building A Login System For The Desktop Application?

Oct 15, 2010

I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post data that will update various data in the database on the server. Basically what I'm wondering is what the best way is to go about building a login system for the desktop application.I can't use the regular channels that you would if your users were accessing the application via a browser, so I was thinking I would do this:

Flex app posts login details (email, password) to a login action.The login action uses Zend Auth to check if the details are valid.The login action creates a unique hash (and stores it in the db somewhere along with the user's id) and returns a json object containing the hash along with the user's id to the flex app.Whenever the flex app makes requests to any action in the web app, it also sends along the user's id and the unique hash so the web app can verify the user.

View 2 Replies

Actionscript 3 :: Twitter Login And Post In Flex 4 Application?

Jul 7, 2011

I just want to know how to add a twitter login in a flex 4 appliation. Bascially on click of a button it should ask for login, and twitter post button which will post the tweets.

View 1 Replies

Flex :: Web Application Timeout After A Specific Time And Redirect To Login

Jan 20, 2011

We have a Flex, Blazeds & Spring based Web application. The requirement is that if the browser is idle for 30 minutes, we have to popup an error message to the user and then redirect to the login page.

View 1 Replies

Deploying Flash Application To Facebook?

Jul 24, 2009

I've come up with a flash game and wish to deploy it on facebook. Problem is, I am not sure where to start!

I've done some research and found out something about needing an external server to host my flash application but I'm still pretty much lost.

So can anyone tell me what are the basic steps to deploying my flash application to facebook?

View 1 Replies

Flash :: Do Fullscreen In Facebook Application?

Mar 16, 2010

[Code]...

But what is the trick to enable flash fullscreen in facebook application ?

View 1 Replies

Flash Facebook Canvas Application

Sep 7, 2010

I need to embed a flash application(that will access FB API from within) in Facebook Canvas page.If I use , some FB related details(like session key) will be automatically passed to the flash. But since, FBML is going to be deprecated, I want to use iFrame. Is there any way to pass those variable automatically or do I have to retrieve them in PHP and pass it to flash through loadvars?Also, if I have to do it manually, is there any documentation for the php sdk 2.1 ? (already searched about it a lot, and I think there is no doc nor tutorial for 2.1)

View 3 Replies

AS3.0 :: Use Flash Animation As A Facebook Application?

Sep 25, 2011

I tried to make a facebook app, but I failed. I have no idea how to use my flash content. I tried to make a new app with Fbook Developers, I uploaded the animation as an HTML file on my server, but it's not working. All i see is a blank page. Then I searched some codes, but none of them worked. This is my final code (which is still not working)[code]...

View 1 Replies

Actionscript :: Integrating Facebook With Application

Feb 5, 2012

I would like to integrate facebook in my actionscript application. I am using facebook actionscript api available from URL...I would like to know if there is any way to creating custom login dialog rather than using the default facebook login dialog as i want the user to just sign in to facebook rather than exploring the other fields like "Sign up" and "Forgot password"I cant use the current api as websites use it for logging to facebook. It is open to sign ups exploring other languages.I would like to prevent the whole thing by customizing the login dialog. Does facebook provide something for that? Or can it be done it in any way?

View 1 Replies

ActionScript 2.0 :: Add Page To My Facebook Application?

Oct 9, 2009

I have one page index.php (a.k.a canvas page) on my server and I want to add link on thesame page link that will referring to my second page secondpage.php

View 2 Replies

ActionScript 3.0 :: Create A Pop Up Dialog Using Facebook Application

Jun 9, 2010

how to create a pop up dialog using facebook application, i found some examples but it doesn't worked for me, now i loaded my friends then beside the profile pic of my friends in have a button name select, where if i select that current friend it will now pop up the image and name then have a button continue how should i do that?

View 1 Replies

Flex :: Send Facebook Message From Application?

Jul 16, 2010

How can I send a message to the currently logged in user from inside a Flex application contained in a Facebook iFrame and using the official AS3 Library for Facebook?

View 2 Replies

Flex :: Make Facebook Application Using Adobe Air?

Jun 22, 2011

I know that we can make application using Adobe air that will run on mobile, desktop and web environments. Can we deploy same application on facebook? like we do with other flash applications.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved