AS3 :: Access To Facebook Album
Apr 11, 2012I 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 RepliesI 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 RepliesI'm using CURL to upload files to a service. Currently I'm getting the file content with $GLOBALS["HTTP_RAW_POST_DATA"] then save it on my server. After that, I'm using CURLOPT_POSTFIELDS with the file's full path. Is there a way to send the file content directly, without saving it on my server, as if I saved it? Or is there a way to upload a Photo from a flash app to facebook album, without saving it on the server?
View 1 RepliesI'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?
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).
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 RepliesI 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 RepliesI 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 RepliesI'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 RepliesI 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??
I am using a Flex widget for my facebook application. How can I get the current user's facebook ID?
View 1 Repliesi 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 RepliesI 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].........
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?
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.
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].....
I created a photo album using XML and actionscript 2. When I test it out on my computer it works great. Just how I thought it would. But when I publish it and put on the server it decides to get a mind of its own. When the page loads the images will go in a random order but the title attributes I created stay just as it should.So basically image 3 will come up first and title 1 will be with it. I changed the the title to print the url that is being called and it will say the correct thing but show the wrong image.
View 1 RepliesI'm new at action scripting and found the outline of a script to use for creating a photo album. I was able to do most of what I wanted but unable to complete the final step and cannot figure out how to do it.
There should be 21thumbnails and corresponding full-size images available for viewing on the page below. Trace code confirms that 21 images in the xml file are called but the display in the scroll pane shows only the first 6, which is good, but there are no advancing buttons in the scroll pane to allow the viewer to go to the next image. How do I make this happen?
[Code]...
I'm designing my own website where I want to quickly organize photos into categories. Any recommendation on flash-based photo album (better free) that I can effortlessly insert into my website?
View 1 Repliesi do have another little snag, i am creating a basic MP3 player in flash so i can learn a little more of it. my sound is call currentMusic and i have been able to use the following to get the title, album, artist, ect ect. the code i was using was for that was
Code:currentMusic.id3.TIT2
anyway it worked fine and all i want to know if there is a way to extract the album art i have stored in the mp3 and display it much like i could pull the title from the id3.
I have it partly set up. It shows my pictures and the next arrow goes to 1 photo but nothing else.
[Code]....
I want to create a photo album. I have 8 thumbnails (thumb_01, thumb_02 etc)I want, when the photo album opens up, the thumbnails to appear with a Interval of .7 seconds and to rescale them from width and height 0, to width and height 80, with an elastic movement at the end ( maybe that they get a little bigger before they reach their final width and height. [code]...
View 3 RepliesBeing a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.
[Code]...
I created a photo album using XML and actionscript 2. When I test it out on my computer it works great. Just how I thought it would. But when I publish it and put on the server it decides to get a mind of its own. When the page loads the images will go in a random order but the title attributes I created stay just as it should. So basically image 3 will come up first and title 1 will be with it. I changed the the title to print the url that is being called and it will say the correct thing but show the wrong image. Heres the link -- [URL] Let me know if you would like to see any of my code.
View 11 RepliesEveryone looks forward to birthdays, hoping receive special gifts from friends, family and honey in that day. And everyone also wants to show special gifts for friends, family or honey in that day. Now you can use Yuzhe Easy Motion to make your life more colorful. This step by step flash album tutorial will guide you to turn your photos into Birthday Album conveniently. [code]...
View 2 RepliesJust as the title says.. I am trying to make a Photo Gallery with a Horizontal Scrollbar,
View 0 RepliesBeing a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.I have attached a zip file with the images, XML and fla file
View 1 RepliesI wanna create a photo album. This is thumbs page.
Code:
for(i=0;i<2;i++){
this.createEmptyMovieClip("logo_mc"+i+"", 999);
loadMovie(""+i+".jpg", logo_mc+i+);
}
I've seen several tutorials for making a photo gallery in flash, but i am looking for a gallery which has to be updated by people without experience with flash. I am trying to make a gallery which can be updated by just replacing or adding files to a folder on a webserver.Besides this issue I want the name of the images to be displayed in a dynamic textbox when the user rolls his/her mouse over the image.
View 8 RepliesI found the tutorial on how to create a photo album with thumbnails using XML. However the only thing that i shows me is to create it with a scroller. I made some modifications to thinking I was going to be able to turn it into a grid but everything that I have tried is not working.[code]
View 5 Repliesl. I was wondering how to implement a different version of the XML album in the tutorials. I want to make some sort of photoreel. The thing is that I don't know how to approach loading the pictures.Here's kind of what I'm trying to do.The big white rectangle is the stage and the small squares are the pictures. I intend to put two buttons on both sides that will scroll the reel. How do I load only the pictures shown on the stage? And of course, when you scroll through the images, how can the images know that they should be loading? I'd like to figure out the coding myself.
View 1 Replies