C# :: Get User's Session Outside Of Facebook Application From A Windows Service Or Desktop App

Jan 17, 2011

I've a flash facebook application, i can take the session info from flash client and send the session information to server.

I need to check if the user connected to the server via facebook application or not. That's why i need to get the user's session from facebook page directly by my server.

How can i do it? I use C# for all database and communication system. Flash interface does only application responsibilities.

View 1 Replies


Similar Posts:


Flash :: Why Can't Log A User Out Of Facebook In An AIR Desktop Application

Sep 23, 2011

I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:

protected function logout():void {
FacebookDesktop.logout(handleLogout, APP_ORIGIN);
}

I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.

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 :: Prompting The User To Send An Application Request To A Friend?

Apr 6, 2012

I have a facebook canvas app (flash).

I have a user who is visiting the app.

I have a button that the user clicks for the purpose of inviting a friend to the app.I understand that this can be done via the js sdk: http[url].....However I am already using the facebook_as3_api, and I would prefer to avoid using multiple facebook api's. Does the facebook_as3_api have a way of doing this, and if not, why not?

View 1 Replies

ActionScript 3.0 :: What Is The Difference Between The Facebook Session Returned From The Javascript Api

Feb 6, 2011

I'm having a hard time understanding the logic here.... What is the difference between the facebook session returned from the javascript api as opposed to the one retrieved from AS3 Facebook api when your application is in facebook. I ask this because When I login via invoked via pure javascript or already logged in the permissions are sent to me as well however AS3's FacebookSession.availablePermissions continues to be an empty array Login invoked via flash will however return the availablePermissions Whats the difference in login invocations?

View 5 Replies

Flash :: Facebook With FlashFacebook Api - Infinite Session With Different Users Using Same App?

Jun 7, 2011

Here is my situation, everytime a user gets a new highscore, i wanna send a facebook message into my game account, and i've managed to do that with infinite session, i've stored the session data with the attributes of my account and always connects directly to my profile and posts it.

Now imagine that i want to do the same thing, but with another profile, is it possible to user the same application? Any ideas how would i identify the different accounts before logging in?

Or do i have to have different facebook programs doing the same things for different account?

View 1 Replies

IDE :: Multiple Windows On Desktop?

Nov 22, 2011

This post might belong to the As3 forum, but i think i might fit in here too..I am trying to get 2 "windows" or swf to to connect together (one sending event and the other receiving them, one way.) for a desktop application offline. First i thought I should use the localConnection, but it doesnt really work offline, i get errors and sandbox violations Now i am considering the nativewindow with a AIR app. All this using Flash CS5 (not flex). What is the best way to proceed?

View 1 Replies

Flash - Webcam Service For A Website: User To User Directly?

Mar 14, 2010

I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.

In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.

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

Determine When Application Is Running As A Mobile / Desktop Air Application?

Dec 6, 2011

How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...

View 4 Replies

Embed Flash Games Into Windows Forms Application.net Compact Framework Under Windows Mobile 6?

Feb 5, 2010

I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr

Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center

[code].....

View 2 Replies

Windows Service With Flash

Apr 8, 2011

I have a swf (flash) program that I projected to an exe file. I would like to run it as a windows service. I am able to install it as a service however the program does not work under local system account.If I change the log on as settings of the service to log as the current user, it works perfectly.Does anyone know why it would not work under the local system account?

View 1 Replies

Windows :: Create A Windows Projector .exe From Flex Application Using A Mac

Feb 6, 2012

I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?

View 1 Replies

Windows :: Flash Can't Be Rendered In A Service?

May 4, 2010

I'm trying to solve a similar problem as was described here - to create a Windows Service for taking snapshots of rich webpages (html+js+flash) and saving them to a PDF file.

The bundle Firefox+cmdlnprint did the trick for me. I wrote a simple program running as a service that invokes Firefox to make a PDF. All seems well, the PDF gets created, but Flash is completely missing. Although, when started not as a service, Flash renders just fine.

Can anyone shed a light on what blocks Flash from rendering and if there's a workaround?

View 1 Replies

Windows :: Start Air/flex Application With Windows?

Sep 21, 2009

I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?

View 1 Replies

Windows :: Windows Authentication In Flex Application?

Jul 30, 2010

does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.

View 1 Replies

Php :: Managing User Session For A Website For Lifetime?

Aug 4, 2010

I want to manage a username session for lifetime. means for example if u look a website [URL] in this website i have registered and i haven't logged out but whenever i open up this website my username appears there. No need to login again. so i want to do the same for my one of the games website. i have developed my website using php mysql flash.

View 3 Replies

ActionScript 3.0 :: Read User Session In Flash?

Nov 13, 2010

i have a php page,inside i include a myflash program.in myflash program i have a function to add to cart when user want to buy something..but i want if they want to click the add to cart button the user first must login to the php page.login module i put in same page with flash program..how can i make if user press the add to cart button,if he not yet login the warning box will appear tell he must login first.i can make it with javascript in php page.. but in flash i donk know how.

View 7 Replies

Flex :: Iis - App Rest Service Calls Bypass Windows Authentication?

Mar 9, 2011

I have a flex app hosted on a windows server running IIS. That same server has some rest services that the app interacts with. The rest services have windows authentication so that their urls cannot be called without credentials. The flex app needs to be accessible to the public so its files are accessed by enabling anonymous access. The problem is of course that when the app tries to call the rest services the browser pops a dialog box asking for windows username and pass. I naively hoped that if I set the anonymous access on the flex site to use the credentials of a windows account that had permission to view the rest services that would resolve the matter. I hoped that IIS would see the browser used the proper creds to view the flex app and use those same creds to get the rest services. Wrong, that didn't work.

So is what I want impossible? I'd like to find a way to not force the user to enter windows creds, keep the rest services using windows authentication, and have the flex app able to access the rest urls. Any ideas? Am I missing something? Also, it may turn out that the flex app is running on http and the rest services must be called with https. Does that change your answer?

View 2 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies

ActionScript 3.0 :: Sockets - Flash Application And Windows Application Works For String Buffer But Not For Object?

May 6, 2011

I want adobe sockets to send "customized" class object to a server socket(WinSock2). I used socket.writeObject(myClassObj). Actually My flash application and windows application works for string buffer but not for object.

Code:
//Flash
var buffer:String = "God Bless Us";
socket.writeUTFBytes(buffer);

// WinSock2
iResult = recv(ClientSock, recvbuf, recvbuflen, 0);

Is there anything I must do before writeObject() is used.?

View 3 Replies

ActionScript 3.0 :: Sending User Details To PHP For Creating Session Variables

Jun 3, 2010

I have a webpage where user enters details. These details are sent to php and session variables are created. My new swf then grabs these variables and displays them in a movie. Now the whole idea is for this movie clip with the details then to be sent to someone as a link. But, if the receiver then opens this link, they wont have the session variables though, and the details will not display.

View 1 Replies

ActionScript 2.0 :: Secure Login SWF - Creating Session For Valid User

Jul 20, 2005

I am trying to write a secure login using flash. I worked out that the login must be separate from the protected content otherwise a decompiler will get round it very quickly. At the moment I have a login swf that posts variables to a server side script which then creates a session for a valid user.

The idea is to then forward on to the protected content. However I am unsure how to pass the users info to the swf so a user could not modify before the swf gets it and thus see another members content or what I can do to stop someone just accessing the content directly by just knowing the swf file's location.

View 2 Replies

Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 Replies

Flex :: Which Is Better For Desktop Application

Jan 4, 2010

i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?

View 3 Replies

Getting The Static Session Time After Quit The Application, Or Click A Button?

Sep 18, 2007

Below I have a counter program. the counter starts running once i open the swf file. Now I need to place a button where i can get the static session time like say 00:01:50 in a text box telling " You have been logged for+time+time. I dont have any idea how i can get the locked timer. The timer goes on running. I want the static time to be displayed when i click on the exit button too. Because exit button opens a page where this time will be displayed, so the user knows how long he has spent on my swf.

Code:
//initial variables
var timing:Boolean = false;

[code].....

View 1 Replies

Java :: Writing A Desktop Application?

Oct 15, 2009

I am writing a desktop application and trying to decide between using AIR (FLex) or Java.Some of the requirements for the application are: needing to securely connect to webservices and JMShave a very interactive UI (lots oflittle and big features)displaying videoCommunicate with a C++ applicationTo implement the web services and JMS for Flex we were thinking of using Merapi to communicate with a Java application. Does this mean we should probably go with Java or does the better graphics capabilities of Flex still make it a better choice?

View 5 Replies

Java :: Can Flex Be Used For A Desktop Application

Nov 2, 2010

Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).

View 4 Replies

Actionscript :: Dragging From Desktop To Air Application?

Jan 3, 2012

I have been looking all over the internet and I can't find any good (or recent) example from a air application where an image (for example) is dragged from the desktop in the application.

The problem is that flashbuilder gives errors on:

import flash.desktop.DragActions;
import flash.desktop.TransferableData;
import flash.desktop.TransferableFormats;
import flash.desktop.DragManager;

(and this are only the errors at the import section)I know this last one can be replaced by mx.managers.DragManager, but this is another class since than I get errors on "DragManager.acceptDragDrop" for example...

View 1 Replies

ActionScript 1/2 :: Automatically Copy Folder Of Files Onto User's Desktop?

Apr 30, 2009

I'm hoping to produce a CD of Captivate lessons to be accessed via a Flash menu. (Using Flash CS4, but with ActionScript 2). I can get the files to work from the disc, but as they are large files, they take less time to open if downloaded onto the user's machine first.
 
Is it possible to use some ActionScript to take the folder of files and copy them onto the desktop so that I can then point the menu items to the newly copied folder? I've seen that there is a download option in ActionScript but this seems to bring up a dialogue box and allows the user to place the files wherever they want. Ideally I'd like the process to be automatic.

View 2 Replies







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