Professional :: Using Adobe's Facebook API To Upload Image?

Dec 16, 2010

I recently developed an Adobe AIR App, for uploading images to a Facebook User's Album,which worked well! But now, as I tryed to migrate the AIR App to an Flash App, which is supposed to do exactly the same, I am experiencing one problem:

Actually everything works fine: The App Initialization, The User Login & Permission (establishing a session), BUT: Once i make the call for uploading a BitmapData, I do NEVER get ANY response / the handler does never get called:

var values:Object = { message:'This photo was created by ProFileIzer', fileName:'filename', image:new BitmapData(50,50, false, 0xFF0000) }; Facebook.api('/me/photos', handleUploadCompleted, values, 'POST');

There is also a Flex sample provided, which I am not able to test, as I am using Flash. So if someone smart got any idea, or probably could test if the sample works..[URL]...

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Upload Image To Facebook

Mar 30, 2012

Iam trying tu upload image to facebook but it just dont work, doe's someone knows relaiable and working example, because everythig I use it don't work.[code]

View 1 Replies

JavaScript :: Upload ByteArray Image On Facebook With SDK

Apr 14, 2012

I'm trying to upload a photo on Facebook using Javascript SDK. In particular I generate a base64 encoded bytearray from my Actionscript3 app, I pass it to Javascript file using ExternalInterface, and from that I decode the bytearray and I try to upload to FB. But it give me this error:
{"error":{"message":"(#324) Requires upload file","type":"OAuthException","code":324}}

I tried to upload an image simply from url, and in that way it goes well! This is my Javascript code:
upPhoto:function(photo) {
var img = F.decode_base64(photo);
FB.api('/me/photos', 'post', {
message:'test',
fileName:'test',
[Code] .....

View 1 Replies

IDE :: CS4 - Create An Image Upload App For Company's Facebook Page?

Jun 18, 2010

I need to create an image upload app for our company's facebook page. I've been able to successfully create the app on facebook and it pulls from a location on our web server. Right now it's just an index.cfm file with hello world in it.We're having a photo contest and what we need to do is provide a quick form (name, email, phone, photo to upload, and photo description).When a user fills out the form and uploads the image, the image shows on our app with the description and then we are notified that someone has uploaded and image.

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.0 :: Upload Image File In Adobe Flash Builder 4?

Mar 23, 2011

We are trying to create a label maker. We have most of the functionally done but can't figure out how let a user upload a file.

View 0 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

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

Professional :: How To Upload Image Using AS3 And Display It Without Server

Jan 21, 2010

Is it possible to upload an image using as3 and flash player 9 and then display it in a movie clip without server side assistance?

View 1 Replies

Professional :: Making An Upload Image Feature?

Jun 2, 2010

I'm designing a flash website and I want a feature whereby the user can upload an image and it gets sent to an email at the press of a button. What is the easiest way for this to be done?

View 5 Replies

Upload Multiple Photos Like Facebook?

Feb 26, 2011

Anyone know what tool does facebook use for uploading multiple photos? It is so neat!

It look like they are using flash uploader? If so, which one out there has similar to that?

View 2 Replies

ActionScript 2.0 :: Upload A Photo To Facebook?

Sep 25, 2010

I'm looking for the simplest way to upload a photo from a gallery on my server (i.e. I have the url to the jpg) to Facebook. The project is built in as2, and for hte life of me I can not find a solution.

I was thinking I could use a php script to upload it to facebook, but all the examples I find online are broken or too old. I could post the url to the php script and then the php could handle the rest.

View 1 Replies

Actionscript 3 :: Change Single-image Upload Into Batch Upload?

Feb 28, 2012

EDIT: Reworked my code a bit and decided to throw out URLLoader in favor of the ile.upload() method.Now I'm stuck again >_<Here's the code I currently have, stripped down to bare-bones:When I drag-drop image files onto my app, here is the trace log that gets returned to me:

[object Document] called.
doDragEnter() called.
doDragDrop() called.

[code]......

View 2 Replies

PHP :: Upload Photo To Facebook Album Without Saving On Server?

Mar 12, 2010

I'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 Replies

Php :: Do Sites Like Facebook Resize Images Before Upload To Save Bandwidth

Jul 18, 2011

Do sites like facebook resize images before upload to save bandwidth?... or do they just get resized remotely, beause when i try and do it using gd library i have the problem that images wiht large dimenions timeout, whatever memeroy limit i set..

View 4 Replies

Flash :: Upload Snapshot From Webcam Directly To Twitpic, Flickr, Facebook?

Jan 4, 2011

I succeed to get a snapshot from the webcam as a jpeg (via BitmapArray) and now I want to upload it directly to twitpic or flickr

View 1 Replies

Php :: Create Upload Script With Multiple File Select Like Facebook With A Progress Bar?

Mar 31, 2011

I was just wondering that is there a way to create a multiple file select like Facebook (using flash, I think.) and with a progress bar that show every photos progress in one progress bar. Have a clue or a script which can be customized and can be used easily?

View 2 Replies

Professional :: Save An Image From Adobe Flash Scene7 (without Printscreen)?

Apr 1, 2011

Here is an example of what I am looking to do. I want to figure out how to locate and save the original (LARGE) image shown here in the zoom box.[URL]..

View 1 Replies

Flex :: Possible To Implement Facebook In Adobe?

Feb 13, 2010

I am considering creating a website with the complexity of Facebook that should be able to scale into the millions of users. My question is: Is there any reason not to use Adobe Flex for such large project apart from the obvious point of requiring everyone to have Flash installed and not having to rely on Adobe? In my view Adobe Flex would reduce the server load for Facebook, because more of the work could me done on the client side.

View 7 Replies

ActionScript 3.0 :: Adobe Facebook Connect API

May 25, 2010

I've started to work on a project that requires facebook connect to invite friends to a website and register. So I downloaded the facebook api classes from adobe, but I have never worked with flash and facebook connect before. So if anyone of you can get me started would be great, not many examples for this on the net. I want to to log in to facebook, get the friends list with pictures and send invitations.

View 0 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

ActionScript 3.0 :: Adobe SDK For Facebook: External Web Apps With No JS?

Apr 14, 2011

I am developing a game and using the official "Adobe AS3 SDK for Facebook platform" libraries to connect it to facebook.In the libraries, you have two options for connecting to facebook, via the Facebook.as, and the FacebookDesktop.as.The Facebook.as is meant for Facebook Canvas and Web deployment, and it assumes the Facebook Javascript to be embedded in the page that has your .SWF.

However as we all know, games are frequently redistributed, just by taking the .SWF and posting it elsewhere, where most likely it wont have the Facebook Javascript embedded in the page.My question is, that in these situatins, is it a good idea to use the FacebookDesktop.as instead? IE detect the URL, and if we are on 3rd party Website, then use the FacebookDesktop.init() etc methods instead of the Facebook.init() ones?

What do you think? Are there any big disadvantages or a better way of doing it?

View 2 Replies

Flex :: File Upload With Adobe Air?

Mar 7, 2012

I'm trying to upload a file with Flex to Minus.com

The API Reference explain the upload with this example:

POST /api/v2/folders/0FQHJakL/files?bearer_token=[token] HTTP/1.1 Host: minus.com Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryxECY8varBqIXZW4f Accept-Charset:
UTF-8,*;q=0.5

[Code]....

View 1 Replies

Javascript :: Loading Facebook ActionScript Library In A HTML Adobe AIR App?

Mar 8, 2010

I'm writing an Adobe AIR app using plain HTML which needs to upload photos to Facebook. I don't think Facebook's JavaScript/Connect library includes photo uploading functionality, but their ActionScript library does. However, I'm having trouble loading the ActionScript library into the HTML page.

Adobe's documentation describes the process of loading ActionScript libraries into HTML AIR apps, which I tried using the compiled Flash library available here (specifically, Facebook_library_with_AIRConnect_v3.4_flash.swc). So my page looks something like:

<html>
<head>
<title>Hello World</title>

[code]....

Is the compiled library file I used the wrong one (do I need a .swf instead of a .swc)?If so, do I need to create my own compiled library somehow from the ActionScript source?Is the namespace I'm using incorrect? (in addition to com.facebook.Facebook() I tried .Facebook(), .fb.Facebook(), .facebook.Facebook(), etc)Should I just give up and try to learn Flex instead?

View 1 Replies

Facebook :: List Of Friends To Show Up In Adobe Flex Application

Nov 1, 2011

In an application I have created (web) I need to list out my facebook friends within a canvas (or any container) along with their profile pictures.

I am using Flash Builder 4.5. I have also managed to set up AIR app (using the samples) so I am not sure if I am on the right track.

The requirement is :

When each user logs into the site his/her friends list should appear in the frame along with the friend's profile pictures.

View 1 Replies

Actionscript 3 :: Facebook API - Can't Retrieve Image From Event Object After Image Loads?

Mar 13, 2012

I am getting a mysterious result when trying to load profile images from a logged in Facebook user's friends list into an as3 canvas app. In pretty much every (non-facebook) application I've made where loading an image is required I use the following:

private function loadPic():void
{
var url:String = Facebook.getImageUrl(_friendslistObjectArray[_loadCount].id);
_picLoader = new Loader();[code]............

I can't retrieve the image from the event object,and I am given no error at all.It all just fails silently.If I remove the line var image = evt.target.content, the process runs through the whole array.I can't think of any reason this would occur. Furthermore, if I look in firebug's net activity, I see I see the images get loaded as long as I do not have the line I just mentioned included. I just can't seem to get the image data from the event object to add it to stage or a container movieclip.

View 1 Replies

Flex :: Adobe Air Upload Progress Without FileReference?

Apr 5, 2010

I'm deploying a small application with Adobe Air. My application will do batch upload from filepath which stored in a text file. For example, in a text file name "list.txt", there is a string "C:myfilesIMG_0001.JPG". Now I want to upload this image file, keep tracking of upload progress :-< I want to use FileReference to get the upload progress, but I don't know how to import from file's path. I also wonder how to use FileReference to upload this file without prompting a dialog for user to select file.

View 1 Replies

Flex :: File Size Limit For Upload In Adobe Air?

Jun 22, 2010

I am building an Adobe AIR app and integrated an FTP client for file transfers. But I found out that maximum file upload size is 100 MB. I need to transfer bigger files

View 1 Replies

ActionScript 1/2 :: Filereference Upload - Movie Run Slowly - Adobe Flash

May 15, 2009

(A script in this move is causing Adobe Flash Player -n- to run slowly. If it continues...) But I haven't found a posting where it is resolved. I am trying to provide my client with an upload script. What I have so far works on small files but results in the aforementioned error message on large files.

I saw a message a few days ago that talked about writing an onEnterFrame routine in a dummy movie clip that increments a counter, but there were no details about what that code might look like. I have tried several iterations of that logic to no avail. I know I am not the only one with this problem, and I do need to find a solution. I don't think that the server php settings are the problem.

[Code]...

View 5 Replies

ActionScript 3.0 :: Upload Image From Flash And Generate Xml For Image Gallery?

May 22, 2009

Just wondering if anyone knows about the project I am trying to start, uploading images from flash using php is fine but wondering if anyone knows how to create dynamic xml from php and it takes all the image names from the same folder where those images have been uploaded. So we can load all the images in image gallery through xml into flash.

View 5 Replies







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