Flash :: Uploading Images Through Facebook Graph API
Jan 24, 2011
I'm trying to upload a picture through the Graph API, but somehow it doesn't get through. Correct me if I'm wrong, but if I don't give an album ID, it should create an album by itself right? I'm a quite confused by that. Right now, I'm using
[Code]...
View 1 Replies
Similar Posts:
Feb 1, 2011
I've been looking around the internet on how to use the PostRequest class given by the Facebook in their Graph Api, but I couldn't find anything on it. I'm wondering how to use it to upload a bitmapdata. It just doesn't seem to be moving at all
[Code]...
Both doesn't work, which puzzles me. The first one worked without encoding it in any way, so I don't get why it doesn't work when I try to just call it like that.
View 1 Replies
Oct 9, 2010
I have som porblem with Facebook Flash graph API I am receiving request, but realy when I check my wall in facebook FacebookDesktop.api not adds Like or unLike
private function likeClickHandler(event:MouseEvent):void{ handleLikeClick() } protected function populateLikeCount():void { if (intData.user_likes) { likeBtn.label = 'Unlike'; } else { likeBtn.label = 'Like'; } likesCount.text =
[code]....
View 1 Replies
Jan 21, 2011
I'm wondering. Is it possible to create an external class just to initialize the API then use functions to call the different items? Like a shortcut to using the API without all the nitty gritty stuff.
View 1 Replies
Jan 25, 2011
I'm asking this question because I can only find examples and answers for the PHP version. I need the Flash version. I'm trying to get my friends information, but I think I'm doing it wrong because if I trace it, it'll give me either [object Object] or undefined.
I did Facebook.api("me/friends", handleApiGet);
private function handleGetApi(success:Object, fail:Object):void
{
if (success)
{
[Code]....
ExternalInterface.call("doAlert", success) returns me [object Object], [object Object]. I also did ExternalInterface.call("doAlert", success.name), it returns me undefined.
View 1 Replies
Apr 11, 2012
I'm trying to display some Facebook video thumbnails in a Flash application, all of the video thumbnails I try to load seem to be hosted at [URL]. However [URL] cannot be loaded (Access Denied). Is there some way around this? (other than loading the images through a proxy). Maybe an alternative url which can be used?
View 2 Replies
Feb 16, 2010
I am developing a facebook application which sits in an application tab.The app is developed in flash and as such must use fb:swf to embed the swf.Therefore it sets allowScriptAccess = never on the swf.There are 3 things that I will need to do, and I am not sure if it will be possible.1) Load external SWF files into the parent swf2) Load dynamic XML from the server3) Upload files to the serverI am using flash 10.
View 1 Replies
May 7, 2011
how to get the user status, but the app I currently working on need to get user's friends statuses. Can I do this without needing user's friends to approve the app? I still can't find how to to this in the graph API.
View 1 Replies
Oct 8, 2010
There are some question on the StackOverflow about facebook & email, but after reading them I still have a problem with retrieving users emails.
Our app implemented on Flex and uses REST API. And previously it used notifications.sendEmail. App has publish_stream and email permissions (checked with users.hasAppPermission).
I tried users.getInfo for get proxied_email address. But this function does not return email address of the friend.. Then I performed the following test using Graph API and web browser: Opened the following link for authorization with extended permissions:
[Code]...
View 3 Replies
Jan 7, 2012
How to send photos to facebook with the graph API for mobile?
View 1 Replies
Jul 22, 2011
I can't set a picture as a user-created page wallpaper and i also cant "like" this same page using a Facebook Desktop Graph API request.how to use the Facebook Graph API for AS3 to change the wallpaper on a user created page and also set the "like" status for that page of a user? Is this even possible?
View 1 Replies
Jan 30, 2012
I've developed a Flash quiz app for facebook, which calls for a php script silently upon completion. The php script's function is to generate an image from the POST data sent by the flash, and then post it to the user's wall.That would be all neat and dandy, but for some reason the image never gets uploaded, probably because when i call it, it's like [URL] and the facebook SDK script inside gets an Oauth error, probably because it is not embedded in their canvas.
If I'd like to have my php script generate an image and upload it to the fb wall, then how should I call it from the flash?This is the AS2 code I'm using currently:
callRemoteFile = function(ourVariable:Number) {
var result_lv:LoadVars = new LoadVars();
result_lv.onLoad = function(success:Boolean) {
[code]....
If I simply navigate to the php with my browser it giver me this:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /home/a01223445/public_html/appfolder/base_facebook.php on line 1039
If I view the same php through facebook canvas it works perfectly. My problem is: The canvas will show the flash and I want the php to silently be evaluated while the flash is running.
View 1 Replies
Jun 23, 2010
Developing a flash based image editing application and I want to be able to share and or save edited images to facebook.
Do I need to get a API Key to upload photos? What if I simply want to share a link with my friends? Do I still need an API key?
View 1 Replies
Jul 22, 2010
i have this code for uploading images. I always get an error of "Type was not found or was not compile-time constant: Void" in line 20, 24, 27,50,54 and 67. I think it's all about the functions.
import flash.net.FileReference;
var progressBar:MovieClip;
var reference:FileReference = new FileReference();
var referenceListener:Object = {};
[Code]....
View 1 Replies
May 16, 2010
I would like to ask if it is possible using flash to upload multiple images to particular positions. For example, I have a target that is called "people" and when someone uploads an image that is called "people" the image will be placed on that target.
View 1 Replies
Jul 1, 2008
I am trying to upload an image on my server using Flash and PHP. The following code works fine on 1 server but doesn't work on other 2 servers where i have to implement it. Please check it and see where am i going wrong.
[Code]....
View 1 Replies
May 19, 2011
I'm developing a drawing application in flash and I want that when a user has finished his drawing, he can upload the file to a server. I found a code on the web that does what I need, but when I upload the image to the server, there open another window and I don't want it does that, I want simply upload the file to the server without opening another window.
This is the AS code:
Code:
import com.adobe.images.JPGEncoder;
save_btn.addEventListener(MouseEvent.CLICK, guardarImg);
function guardarImg(e:MouseEvent):void
[Code].....
View 3 Replies
Dec 8, 2011
Ive been trying to create this code for some time now and just wondered if someone out there who may read code better than me may work out why the image doesnt end up on my server as i seem to have brain freeze on this :(
var fileRef:FileReference = new FileReference();
fileRef.addEventListener(Event.SELECT, selectHandler);
fileRef.addEventListener(Event.COMPLETE, completeHandler);
[code]......
View 1 Replies
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 8, 2011
I'm doing a Facebook App where I'd like to pull out all the possible images from a user's album.What I'm trying to do at the moment is a fql query so that i can find all the images that belong to that specific user. it goes something like that:[code]I store this images in an array collection but I don't know how to proceed after that. How can I load those images into, say, a Tile List or a Loader?
View 2 Replies
Mar 1, 2010
Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;
[code].....
View 2 Replies
Aug 22, 2011
In the below code the traced values are correct its there in the chart data provder but the
input graph is not plotting.there is no error in this code.Can anyone solve it?
function fnctn(evt:Event)
{
var tp:int = bulb1 + bulb2 + bulb3 + bulb4;
[Code].....
View 1 Replies
Jan 26, 2010
School Project with the following actionscript in Flash 8, I want to show a slope graph? What code to add to make slope graph work?
/*var orig_x:Number;
var orig_y:Number;
orig_x = (plane_mc._x)+(plane_mc._width/2);
[code].....
View 0 Replies
Jan 21, 2010
I making a game leaderboard on facebook. I'm not using connect but working inside the canvas. When I try to load the images from facebook it gives me the following error.
SecurityError: Error #2122: Security sandbox violation: Loader.content: http://test cannot access http://profile.ak.fbcdn.net/v22941/254/15/q652310588_2173.jpg A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
[Code]...
View 3 Replies
Feb 21, 2010
I'm trying to upload images with Uploadify but I run into IO error. I have gotdemo and it works on my computer, so I decided to implement functionality of my application to this example step by step to catch the error and discovered that the reason of IO error is my local proxy.pac (I use FF):
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.app.local*")) {
return "PROXY 127.0.0.1:3000";
[code]....
View 1 Replies
Jul 13, 2009
As for Adobe is concern, We can upload the files up to 10MB But for my application i am facing problem while uploading the image or video more the 2MB size.I don't have any restriction in my coding part both AS and PHP.
ActionScript Code:
uploadMsg.visible = false;
var URLrequest:URLRequest = new URLRequest("http://localhost/udip/File_Upload/uploader_script.php");
[code]....
View 3 Replies
Feb 4, 2011
I'm uploading files to my server using File.upload();. My php file looks like this:
[Code].....
View 2 Replies
Mar 30, 2011
I'm developing a drawing application in flash and I want that when a user has finished his drawing, he can upload the file to a server I found a code on the web that does what I need, but when I upload the image to the server, there open another window and I don't want it does that, I want that simply upload the file to the server without opening another window.
[Code]...
View 0 Replies
Apr 14, 2011
i'm having a bit of trouble with the facebook actionscript graph api While i can get posting to "/feed" to work with Facebook.ui, (does a facebook popup), i can't seem to get it to work with Facebook.api here is my code:
[Code]...
View 1 Replies
Oct 27, 2009
What I have to do is upload some images to a server, which is OK, but before uploading I must downsize this images by reducing their quality and width/height. I've found many information about the class JPGEncoder, but I couldn't make it work.
View 2 Replies