ActionScript 3.0 :: Facebook AIR Permissions - Using GraphAPI_Desktop_1_8_1.swc To Access FacebookDesktop

Nov 23, 2011

I have an AIR app using GraphAPI_Desktop_1_8_1.swc to access FacebookDesktop. I call FacebookDesktop.login eg: FacebookDesktop.login(handleLogin);and all is good, the login window opens and the user logs in. But! when I add extra permission, for example: FacebookDesktop.login(handleLogin,{perms:"publish_stream"}); In the 'handleLogin' callback function I get the following error: message, An active access token must be used to query information about the current user.

View 2 Replies


Similar Posts:


Facebook :: Cannot Get Extended Permissions To Work

Nov 4, 2011

I'm working with the Facebook Actionscript API (no PHP or Javascript), and I'm having trouble granting access to extended permissions, like publish_actions. I'm using the following login:
var opts:Object = {perms:'read_stream,publish_actions,offline_access,user_photos'};
Facebook.login(handleLogin, opts);

I get two "Request for Permission" windows. The first says my app needs access to "Your Photos". The second says my app would like permission to "Access posts in your News Feed" and "Access your data anytime". Why can't I request access to "publish_actions"? It looks like there may be two permissions levels - regular and "extended". It looks like extended permissions may require a "scope" parameter, instead of "perms". How/where to use the "scope" parameter.

View 1 Replies

Publish A SWF With Local Access Permissions?

Nov 22, 2011

We have been purchased a training course made with Flash. When we received the course (a SWF file with external files inside a "data" directory, images, videos, etc), we realized that it was necessary to explicity give permissions to Flash Player to access the content in the CD drive. We think that is not a good idea to distribute a CD where the user have to do "extrange things" to make it work.
 
So, we talked with the developer and he sent us an .EXE file with the course, that obiously works fine (al the content in the CD is readed without user interaction), but it only works in Windows machines.
 
The question is: is it possible to publish an SWF that can access to the CD content without user interaction? We are almost sure that the answer is "yes" because we have a lot of "magazines" cds with SWF files that load the contents from CD (text and images) and they work perfectly "as is".

View 1 Replies

Flex :: FacebookDesktop.fqlQuery Does Not Work When Trying To Retrieve Users Photos

Nov 2, 2010

When attempting use the the Adobe GraphAPIDesktop library for use with Adobe Flex and AIR I can login to Facebook and retireve wall posts etc ok using FQL or Graph API calls. When attempting to retrieve users photos I can only get tagged photos when using "me/photos". I am trying to use FQL whcih should work, but when using:

var query:String = "SELECT pid, aid, owner, src, src_big, src_small, link, caption, created, modified FROM photo WHERE aid IN ( '1622751608028', '1207785754141' ) ";

FacebookDesktop.fqlQuery(query, getPhotos2);

Only an empty OBject is returned from FB?

View 1 Replies

AS3 :: Access To Facebook Album

Apr 11, 2012

I am newbie to faceook with as3. how I started ? tutorial ? I purpose accessing to facebook album ? What should be my My first step?

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

Facebook :: Access Token Secret?

Mar 26, 2012

I'm using the actionscript api for a flash application on the web. I would like to perform actions which require an access token, but I'm unsure of the security implications of using this in flash (which can be decompiled). Is the access token something I need to keep secret?

N.B. Specifically I'm trying to post game achievements which require the app's access token to be passed. But I'm not sure how I can do this securely from flash (or whether this is not an issue).

View 1 Replies

Actionscript 3 :: Obtain New Facebook Access Token

Jan 3, 2012

I looked all over facebook api docs for FLEX and i couldnt find a way to obtain a new access token, can anyone please guide me how to that?By the way , the only time I get error "access token" is when I try to get information from the api and using the parameter "since".when I use this call, im getting a token error massage [code]and when im using it without since FacebookDesktop.api("me/likes",handleFeed);

View 1 Replies

Php :: Embedded SWF In Facebook With MochiAds Loader, Access FB Flashvars?

Dec 7, 2009

I have a flash game embedded on Facebook but need access to the flashvars facebook passes to all embedded games. However I am using the mochiads preloader meaning that _root.fb_sig_user is always undefined?How do I get to the variables?stage.loaderInfo.parameters.fb_sig_user

View 1 Replies

Flash :: Facebook Connect And Actionscript - Make All Of The Facebook API Calls Via JavaScript

Jun 1, 2009

I'm trying to determine the practical difference between using the com.facebook.session.WebSession and com.facebook.session.JSSession. The documentation ([URL]) has more around WebSession - but the example I have which is closest to what solution I'm trying to implement uses JSSession and it looks like I could avoid all of the JavaScript pass-through & ExternalInterface calls I'm making. It appears that the benefit of using this new ActionScript Facebook API is to avoid having to make all of the Facebook calls via JavaScript.

View 5 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 :: 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 - Connecting To Facebook From A Remote Website With OAuth2?

Jan 13, 2012

i need to connect to have a button on my website that connects to facebook (if not already logged in) and posts to the users wall.I've only done this from within an iFrame - do i still need AppId etc etc?

View 1 Replies

Flash :: Run Application Without Install Permissions?

Jan 16, 2012

I'm trying to build an app, which should have Flash Player control, which plays SWF from server (certain URL). For Flash Player ActiveX you have to save SWF file to a temporary location to load it and play, isn't it? You'll have to create a corresponding link that you can pass to the Flash Player ActiveX and then delete SWF file after it is played. Of course, high security level can't be guaranteed, but I think it's good, if at least no temporary files are created (can be intercepted LOCALLY). So the question is how to make Flash Player ActiveX be able to load SWF file directly from any source without usage of temp files?

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

Flash :: Facebook :: Facebook Pages And Content - Autoplay?

Dec 6, 2011

I've recently used the 'Static HTML' application to add autoplaying flash content to a Facebook Page.Nothing too fancy, no sound, and only a few secs long. Now, Facebook say:-"Apps on Pages must not host media that plays automatically without a user's interaction."

What do they mean by 'Media' exactly? I can understand a ban on autoplaying audio content but does the ban extend to something as harmless as an animated GIF? Or more to the point, does an autoplaying .swf file fall under this?

Lastly, what course of action would Facebook take if I did violate this rule? Would they issue a warning (giving me an opportunity to remove the 'offending' item) or would they just shut down my page without any consultation?

View 2 Replies

Professional :: What Are The Permissions Needed To Receive A Mp3 Stream

Jun 20, 2011

Like some others here, I am trying to write a music player that will play live stream (shoutcast mp3). I've tried both Flex (Flash Builder 4.5.1) and Flash CS5.5, it works great when I play the SWF on the PC, but when tranferred to the phone I hear nothing, although it is streaming, I assume that it is something to do with the permissions, but I'm not sure. The permissions I am using at the moment (for android) are as follows:

[Code]...

View 2 Replies

ActionScript 3.0 :: Cannot Click On Camera Permissions (allow Or Deny) In Mac Firefox

Jun 7, 2010

I am working on a flash video recorder.When the video recorder applications loads , a camera permission dialog box opens asking the user to either allow or deny access to the camera or microphone.The problem is that on mac firefox the the user is not able to click on the allow or deny buttons.In fact the entire flash dialog box does not respond to any mouse clicks. When you right click on the flash area to manually open the security window it opens .But even here there is no response to mouse clicks.Using the keyboard i am able to shift focus from allow button to deny buttons or any other part of the dialog box but nothing happens on pressing the enter key.In short, the recorder application freezes at the very first step in mac firefox.

View 3 Replies

ActionScript 3.0 :: Using The Adobe Facebook API To Logout Of Facebook From Swf

Sep 24, 2009

I can't find in the Adobe Facebook API how to log the user out of Facebook. The FacebookSessionUtil (and the related sessions and Facebook classes) all have a .logout() function, which will invalidate the user's current *session* within the swf, but it doesn't log the user out of Facebook.

What am I missing here? How are you supposed to log the user out of Facebook with this API? Since it's part of the TOS for Facebook Connect apps, you'd think this would be available in the API somewhere.

View 0 Replies

Actionscript 3 :: Flash Async Calls With Mouse Click Permissions?

Nov 19, 2009

The current workflow is as follows:

user clicks a button sends a Loader to see if the user has permission if the user has permission uploads a file

Unfortunately, this gives:

SecurityError: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.

It appears that as a security feature, Flash 10 disallows certain functions (such as uploading a file) unless it is preceded by a mouse click or button press. However, since I am first loading the request for permission, it no longer see the MouseEvent event (presumably in the stack) and thus throws a SecurityError.

View 2 Replies

Actionscript :: Flash Camera Permissions Dialog: Why Does It Sometimes Take More Than One Click To Work

Jan 15, 2010

Often, but not always, the first few clicks on the "Allow" button on the Flash camera permissions dialog are ignored. This is very frustrating for users. And for me, when I'm testing code! I'm afraid I don't really know what else to say about the problem to give more insight. My hunch is that it has something to do with getting focus on the embed element, but that is merely a guess.

View 1 Replies

Flex :: Build Dynamic UI And Allow A User To Create New Roles And Set Permissions?

Dec 6, 2010

I'm changing the way I build my UI from this:

If ( role == 'Admin' ) myComp.visible = false;

...to a totally dynamic UI based on what is returned from the DB.I've read about role-based access control and understand that it's best that the server generates the UI after a user is authenticated, but apart from re-doing the entire backend to store MXML et al., is there a better approach? Is it a bad idea to have a Permissions object that has properties like:

showTabOne:Boolean = true;
allUserToEditGrids:Boolean = false;

The components visibility and includeInLayout properties will be bound to these values. The UI will also allow a user to create new roles and set permissions.The only drawback I see is that every time a new feature is added, the app will have to be recompiled to update the bindings.

View 3 Replies

Flex :: Security Sandbox Violation: Lack Of Policy File Permissions

Apr 15, 2011

I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- [URL] Also, the rossdomain.xml file is located in the root of the web app which serves the applet rather the web service; however, since the requests are proxied the url for the file is [URL]

[Code]...

View 1 Replies

Actionscript 3 :: Get Facebook Post Id With Facebook-SDK?

Nov 8, 2011

After I upload a photo on a desktop facebook application i need to store it's post id in a database. From the facebook ActionScript SDK documentation:pi() methodpublic static function api(method:String, callback:Function, params:* = null, requestMethod:String = GET):voidMakes a new request on the Facebook Graph API.Parameters [...]callback:Function — Method that will be called when this request is complete The handler must have the signature of callback(result:Object, fail:Object); On success, result will be the object data returned from Facebook. On fail, result will be null and fail will contain information about the error.

So I implemented my callback function as follows:
protected function handleUploadComplete(response:Object, fail:Object):void{
status = (response) ? 'Success' : 'Error';

[code].....

View 1 Replies

Media Server :: Change Recorded Stream Files Permissions From Server Side?

Dec 20, 2010

I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.

View 2 Replies

Flash :: CS5 Quicktime Export "unknown Error" Network Permissions OS X?

Mar 3, 2011

I would be very grateful if anyone can shine any light on the problem I am having with Flash CS 5 for OS X 10.5 and 10.6. A local admin account allows a user to export a flash project file as a quicktime file no problem.  However, when a network user tries to do exactly the same thing, i receive a "unknown error" message.
 
We are running our iMacs via active directory and open directory.  I have added Flash to the allowed applications list in Workgroup manager and have allowed access to library paths etc. So basically a flash file wont export as a quicktime file under OS x when  logged on as a network user.
 
We have tried different export areas (desktop, removable drive, network home folder) but no joy.  The permissions must be blocked elsewhere.

View 2 Replies

Data Integration :: Shared Object - Prompt Data Permissions Dialog?

Jan 19, 2007

I'm creating a small app to run from CD-Rom/local installation that will use multiple shared objects for data storage. To ensure proper saving without surprising the user with a permissions dialog unexpectedly, I'd like to request unlimited data storage on first time app launch - Joey Lott shows how to do this in the Actionscript Cookbook... request=mySO.flush(1024 * 500);

My question is,Can I perform this permissions request with the user a single time with a generic app SO in global fashion, so that the permissions would be set for any SOs created during the use of the product (all written to same SO directory),or do I have to request
permissions for each and every SO created? Since the latter would be unacceptable from a UE standpoint, that means stuffing all app data into a single SO which doesn't seem so great from a data config perspective...

View 1 Replies

Actionscript 3 :: The Details Of Adobe AIR File Permissions - Append To A File On The System?

Apr 15, 2012

I need to know what the details are of the file permissions of an adobe AIR app. Specifically, to where can may it write text files? Anywhere on the local system? I heard Adobe has a set of "Sandbox Permissions" but these just confuse me as I don't know where they apply. Additionally I wish to know if you need some kind of special permission to append to a file somewhere on the system.

View 1 Replies

Media Server :: Application Doesn't Have Permissions For Server-side Record/append Of Streams

Aug 12, 2011

I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder  but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file

View 4 Replies

Professional :: Install New Flash 10.1, It Tells "A Required File Could Not Be Written Due To Insufficient Permissions"?

Jun 12, 2010

I'm using 64 bit Windows 7, I tried to download it on both Firefox  and Google Chrome, I used the uninstaller on this site so I shouldn't  have any current Flash installed. When I go to try  and install the new flash 10.1, it tells me...."A required file (C:WindowsSysWOW64MacromedFlashNPSWF32.dll:5) could not be written due to insufficient permissions."

View 2 Replies







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