Flash :: Uploading BitmapData Using Facebook Graph Api?
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
Similar Posts:
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
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
Apr 20, 2009
Doesn't seem to be much info out there on this. I'm consistently getting a coldFusion error on upload. (sorry, wasn't sure whether this was a coldFusion or Flash problem, but ended up posting here)I have tried several ways of uploading, the latest would be:
var request:URLRequest = new URLRequest("http://www.blabla.com/upload.cfm");
request.method = URLRequestMethod.POST;
request.contentType="application/octet-stream";
var loader:URLLoader=new URLLoader();
[code]....
View 3 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 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
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
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
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
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
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
Jan 31, 2007
I'm using Flash 8, with this code in the first frame:
import flash.display.BitmapData;
rissa._x=Stage.width/2;
rissa._y=Stage.height/2;[code].....
When I publish the file, I'm getting the following error message in the Output panel:
**Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 7: The class or interface 'BitmapData.loadBitmap' could not be loaded.
var plaid:BitmapData.loadBitmap("plaid");
Total ActionScript Errors: 1 Reported Errors: 1
View 8 Replies
Oct 14, 2009
I am trying to use the reflect class from "http://pixelfumes.blogspot.com/2007/03/reflection-class-v3-with-source .html" but I keep getting this error:
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
at Reflect()
at Site_fla::GalleryPage_29/loadThumbs()
at Site_fla::GalleryPage_29/sortXML()
[Code]...
btw, first I used assigned thumbContainer as the mc argument (outside the loadThumbs() function) and it worked but not exactly what I wanted... because I thought it is supposed to update when the movieclip is animated but it actually didn't... when I use a scroller, only the thumbs that are first loaded to the stage get the reflection..
View 10 Replies
Aug 29, 2011
Flash - How do I post a swf via graph api using PHP SDK
View 1 Replies
Feb 3, 2011
I'm doing a FB app with the Graph API in Flash. I've got everything working which consists in uploading some images created by the user in the app. The only part that I'm missing is how to tag these photos as with the Graph API it is not possible.
So I was wondering if it's possible to call a method of the REST API even though I'm using the Graph API.
View 1 Replies
Aug 23, 2011
I have two basic bar charts and I am currently using XML/SWF Charts which is great but the problem I have is I need to be able to send these graphs via email to the user. As well as display them on the site.
I know sending Flash is a bad idea, I would love to find a way to convert my current graphs to an image, but am pretty certain there is no quick fix without building a work around myself.
Therefore what are the best open source or closed solutions for this problem.I need to be able to display two graphs dynamically and then email them to users.
View 4 Replies
Jan 16, 2012
we developed an as3 facebook application (http:url....), but unfortunately the authenification popup is blocked in all major browsers (ie, ff, chrome), which leads to a high rejection rate for our campaign.If I have a look here ... http:[url....These fellows used the same api (http:url.....), I checked it with a decompiler and their popup is never blocked!.
View 1 Replies
Feb 9, 2010
i have a project to do on flash..its about laws of physics and i want to include dynamic graphs.. e.g projectile motion.. the guy enters the distance and the angle and a graph is plotted from the calculations it makes.thing is that i dont even know to make a graph in flash..now i have to make a dynamic one.
View 9 Replies