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
Similar Posts:
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
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
Aug 17, 2009
I have a need to build a flash login page. No big deal, but I need to have six seperate login accounts. For example:
Username: user1 Password: pass = link to [URL]
Username: user2 Password: pass = link to [URL]
Username: user3 Password: pass = link to [URL]
and so on for up to six users.
Again the usernames and passwords would not change, but need to redirect the particular user to a certain page.
stop();
var user_input = "";
var pass_input = "";
login_button.onRelease = function(){
if(user_input == "user1"
&& pass_input == "pass"){
getURL([URL], "GET");
}else{
gotoAndStop (3);
}}
View 7 Replies
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
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
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
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
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
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
Mar 30, 2010
How to develop new facebook application (login , add photos ) using the api of flex
View 1 Replies
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
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
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
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
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
Feb 19, 2008
I'm trying to login to a password protected php page through a form in flash.When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses?Can I send a variable containing the user/pass given?but then everyone who checks history can access the page without even having to access the flash page..
View 2 Replies
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
Jan 25, 2009
I want to have a login page in flash,which takes two inputs and passes it to the php. Then php checks the data base to see whether the username or password in valid or not and then replies back to the flash.
Is there any existing code for this
View 1 Replies
Feb 21, 2012
Does anyone have tutorial to do the pop up window for login page? I want to include the insert login and password as well.
View 1 Replies
Sep 10, 2009
I am trying to create a simple login page, once the user has logged in successfully they will be taken to another site which contains their photos. I have created the login page already, it has a Username and password plus the Submit button. I guess 2 things need to happen here:
1. I would like to be able to access an xml document which contains the Username and Password in order to validate the details.
2. Upon successful validation, the user is directed to another page which contains their gallery, I guess I need to add a navigateToURL here in actionscript where the URL is passed from the XML file to the code (the URL needs to come from an the same XML file, if possible).
I am trying to design this site so I don't need to keep accessing the actionscript in flash to add user details and URL links.
View 3 Replies
Mar 1, 2010
I have a website which I created for my classmates, there they can log in to see their notes (some sort of electronic diary).There is obviously login script php based.However I wanted to implement something cool like Matrix like login page ^^It should work like that:Black screen shows up, some green elements start to appear over the screen, some sonar, radar, neuron activity and in the middle of it login box.Thos moving objects aren't a problem however this box would be.I wanted there to have blinking green square (like in DOS) and after someone put a letter, the box should move one place to right and still blinking same with password filed.
View 1 Replies
Dec 2, 2003
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
Mar 16, 2004
There's been a long time since i dont ask questions here... not that i dont need to, coz i know nothing , is just that im not using flash that much lately.
ok then, heres the question, I have a simple username/password form in a swf file, and i want to launch, in a new window, a login php page when i hit the submit button, with the variables passing from the swf form to this page. the problem is: i have no idea how the script of the submit button should look like
View 3 Replies
Jul 29, 2009
I'm having an issue with my preloader - After it's finished loading, most of the time it goes on to the rest of the content fine. But occasionally, it goes straight to a blank page.
[URL]
It doesn't seem to happen on every browser. Refreshing the website, it happens maybe 1 out of every 5 times it's refreshed. Sometimes it works and sometimes it doesn't. It's driving me insane.
View 1 Replies
Jul 25, 2011
I am creating a login page in HTML with Javascript Elements.
Basically I have a login form. and if credentials are wrong I want it to show an alert in HTML which another Javascript manages. Anyway I have setup a test page here As you can see when you input the wrong credentials it will display an alert. But I want it to perform an action in HTML? (This is so hard to describe)
<div class="notification error"> That is the code in HTML which will show that red box you see up the top & I will add text later.
Here's the Login form:
else {
$('.notification-detials')
}
return true;
[Code].....
View 1 Replies
Dec 2, 2003
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
Aug 27, 2004
I need to know how to create a login page for a website, allowing the user with a correct name and password to view a movieclip with saved inforation.
View 2 Replies
Feb 24, 2005
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
Jul 10, 2009
I have created a dynamic video playlist using XML using [URL]The login page works fine but now I have moved all the video content to frame 2 the playlist and videos dont load and I get the errors;
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at VideoPlaylist()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
[code].....
View 5 Replies