My favorites | Sign in
Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 28, 2009
    issue 117 (FacebookUser.birthdayDate remains null) reported by niepowiem   -   What steps will reproduce the problem? 1. Call GetInfoData with fields set as [GetInfoFieldValues.BIRTHDAY] or GetInfoFieldValues.ALL_VALUES 2. In event handler: trace(FacebookUser(GetInfoData(event.data).userCollection.source[0]).birthday); trace(FacebookUser(GetInfoData(event.data).userCollection.source[0]).birthdayDate)); expected is as following: String formatted date Date Object What i see: expected is as following: String formatted date null Api version: trace(facebook.api_version) // 1.0
    What steps will reproduce the problem? 1. Call GetInfoData with fields set as [GetInfoFieldValues.BIRTHDAY] or GetInfoFieldValues.ALL_VALUES 2. In event handler: trace(FacebookUser(GetInfoData(event.data).userCollection.source[0]).birthday); trace(FacebookUser(GetInfoData(event.data).userCollection.source[0]).birthdayDate)); expected is as following: String formatted date Date Object What i see: expected is as following: String formatted date null Api version: trace(facebook.api_version) // 1.0

Last 30 days

  • Dec 26, 2009
    issue 18 (1046: Type was not found or was not a compile-time constant:...) commented on by nasiralisher   -   here is what i read on another google code resource - worked for me ===================================================================================== Comment 1 by rick.t.williams, Jul 30, 2009 Make sure you've dragged an instance of the FacebookConnect API component onto the stage. You can delete it, but you must ensure that it's in your library before you test ;o)
    here is what i read on another google code resource - worked for me ===================================================================================== Comment 1 by rick.t.williams, Jul 30, 2009 Make sure you've dragged an instance of the FacebookConnect API component onto the stage. You can delete it, but you must ensure that it's in your library before you test ;o)
  • Dec 26, 2009
    issue 108 (facebookevent.complete returns a "1046: type was not found.....) commented on by nasiralisher   -   here is what i read on another google code resource: ===================================================================================== Comment 1 by rick.t.williams, Jul 30, 2009 Make sure you've dragged an instance of the FacebookConnect API component onto the stage. You can delete it, but you must ensure that it's in your library before you test ;o)
    here is what i read on another google code resource: ===================================================================================== Comment 1 by rick.t.williams, Jul 30, 2009 Make sure you've dragged an instance of the FacebookConnect API component onto the stage. You can delete it, but you must ensure that it's in your library before you test ;o)
  • Dec 24, 2009
    issue 116 (Facebook does not recognize as3 "content"?) reported by indiansta   -   Hi, Can facebook not recognize the action script(AS3) "content" keyword when using "e.target.content"? Please look at the code below : var imgLoader:Loader = new Loader(); imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete); imgLoader.load(new URLRequest("default_pic.gif")); function loadProdComplete(e:Event):void { var bit:Bitmap = e.target.content; bit.smoothing = true; pic.addChild(e.target.content); } Its not working in the facebook application. But its working fine in local system and other online domains. Please help me on this and let me know if you have any other alternate way to do the image smoothing in facebook platform. Thanks.
    Hi, Can facebook not recognize the action script(AS3) "content" keyword when using "e.target.content"? Please look at the code below : var imgLoader:Loader = new Loader(); imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete); imgLoader.load(new URLRequest("default_pic.gif")); function loadProdComplete(e:Event):void { var bit:Bitmap = e.target.content; bit.smoothing = true; pic.addChild(e.target.content); } Its not working in the facebook application. But its working fine in local system and other online domains. Please help me on this and let me know if you have any other alternate way to do the image smoothing in facebook platform. Thanks.
  • Dec 22, 2009
    issue 23 (Cannot access a property or method of a null object referenc...) commented on by Brian.cyzhang   -   applicationComplete="init()" helped. Thanks.
    applicationComplete="init()" helped. Thanks.
  • Dec 21, 2009
    issue 48 (Facebook Actionscript API crash) commented on by XaeroDeg...@gmail.com   -   Anyone figured out this problem? I have the same issue surrounding validateLogin()
    Anyone figured out this problem? I have the same issue surrounding validateLogin()
  • Dec 18, 2009
    issue 115 (How can I invite friends to use my app?) reported by godilya   -   How can I send an invitation to my user friends to use my app? Just been looking for the answer for more then few weeks by now and can't find any information about it, the only way I know how to do it is only using PHP.
    How can I send an invitation to my user friends to use my app? Just been looking for the answer for more then few weeks by now and can't find any information about it, the only way I know how to do it is only using PHP.
  • Dec 16, 2009
    issue 91 (birthday_date is not available in the GetInfo request.) commented on by alexis.hanicotte   -   I've the same issue. Indeed, in the com.facebook.utils.FacebookUserXMLParser, there is no date parsing for "birthday_date" and no corresponding property in FacebookUser (as it is "birthdayDate").
    I've the same issue. Indeed, in the com.facebook.utils.FacebookUserXMLParser, there is no date parsing for "birthday_date" and no corresponding property in FacebookUser (as it is "birthdayDate").
  • Dec 10, 2009
    issue 114 (Posting on page as page) reported by danpubli   -   What steps will reproduce the problem? 1. log in, get a user session that is page admin 2. create a publishpost call, with target, the page 3. post What is the expected output? What do you see instead? I would expect to see the post on the page and AS A PAGE. I see a post on the page wall as theuser. Please provide any additional information below. I manage to fix it, by adding uid in the publishpost command (attached). Then to post as page, you need to call publishpost with uid being the page_id and target_id remaining null. It works fine. BTW thanks for the api, nice work. Daniel
    What steps will reproduce the problem? 1. log in, get a user session that is page admin 2. create a publishpost call, with target, the page 3. post What is the expected output? What do you see instead? I would expect to see the post on the page and AS A PAGE. I see a post on the page wall as theuser. Please provide any additional information below. I manage to fix it, by adding uid in the publishpost command (attached). Then to post as page, you need to call publishpost with uid being the page_id and target_id remaining null. It works fine. BTW thanks for the api, nice work. Daniel
  • Dec 08, 2009
    issue 108 (facebookevent.complete returns a "1046: type was not found.....) commented on by dlivdahl   -   I'm getting the same error, did you ever find out what was wrong?
    I'm getting the same error, did you ever find out what was wrong?
  • Dec 04, 2009
    issue 113 (Cannot use Sessionless API calls or Session Optional API cal...) commented on by pascal.larocque   -   Windows 7 64bit Flash player 10 it works when connected but the idea it to get the information without connecting.
    Windows 7 64bit Flash player 10 it works when connected but the idea it to get the information without connecting.
  • Dec 04, 2009
    issue 113 (Cannot use Sessionless API calls or Session Optional API cal...) commented on by pascal.larocque   -   it works when connected but the idea it to get the information without connecting.
    it works when connected but the idea it to get the information without connecting.
  • Dec 04, 2009
    issue 113 (Cannot use Sessionless API calls or Session Optional API cal...) reported by pascal.larocque   -   What steps will reproduce the problem? var $queries:Object = new Object(); $queries.query1 = "SELECT uid, first_name ,pic_square from user where uid ="+$uid; $queries.query2 = "SELECT uid, first_name ,pic_square from user where uid in (SELECT uid2 FROM friend WHERE uid1="+$uid +" limit 100)"; var call:FacebookCall = _fb.post(new FqlMultiquery($queries)); call.addEventListener(FacebookEvent.COMPLETE, _onUserInfoLoad); What is the expected output? What do you see instead? fql_multiquery_response XML What version of the product are you using? On what operating system? Facebook_library_v3.3_flash.swc Please provide any additional information below. Error: Cannot post a call; no session has been set. This is suppose to work without a session
    What steps will reproduce the problem? var $queries:Object = new Object(); $queries.query1 = "SELECT uid, first_name ,pic_square from user where uid ="+$uid; $queries.query2 = "SELECT uid, first_name ,pic_square from user where uid in (SELECT uid2 FROM friend WHERE uid1="+$uid +" limit 100)"; var call:FacebookCall = _fb.post(new FqlMultiquery($queries)); call.addEventListener(FacebookEvent.COMPLETE, _onUserInfoLoad); What is the expected output? What do you see instead? fql_multiquery_response XML What version of the product are you using? On what operating system? Facebook_library_v3.3_flash.swc Please provide any additional information below. Error: Cannot post a call; no session has been set. This is suppose to work without a session

Older

  • Dec 03, 2009
    issue 100 (callMethod("streamPublish", '',attachment) with media don´t ...) commented on by pixelsguy   -   the issue here lies in the JavascriptRequestHelper class. when converting objects to strings suitable for javascript, it takes any object within an object and casts it as a string. Here is the fix: simply replace the objectToString(obj:Object) method with the following: note that this requires importing com.adobe.serialization.json.JSON. public static function objectToString(obj:Object):String { var arr:Array = []; // for (var n:String in obj) { // arr.push(n + ': ' + quote(obj[n]) + ''); // } for(var n:String in obj){ var stringValue:String; var qualifiedClassName:String = getQualifiedClassName(obj[n]); switch (qualifiedClassName) { case 'Array': stringValue = '['+obj[n].join(', ')+']'; break; case 'Object': stringValue = JSON.encode(obj[n]); stringValue.replace('\"','"'); break; case 'String': default: stringValue = quote(obj[n]); break; } arr.push(n+': '+stringValue+ ''); } return '{' + arr.join(', ') +' }'; }
    the issue here lies in the JavascriptRequestHelper class. when converting objects to strings suitable for javascript, it takes any object within an object and casts it as a string. Here is the fix: simply replace the objectToString(obj:Object) method with the following: note that this requires importing com.adobe.serialization.json.JSON. public static function objectToString(obj:Object):String { var arr:Array = []; // for (var n:String in obj) { // arr.push(n + ': ' + quote(obj[n]) + ''); // } for(var n:String in obj){ var stringValue:String; var qualifiedClassName:String = getQualifiedClassName(obj[n]); switch (qualifiedClassName) { case 'Array': stringValue = '['+obj[n].join(', ')+']'; break; case 'Object': stringValue = JSON.encode(obj[n]); stringValue.replace('\"','"'); break; case 'String': default: stringValue = quote(obj[n]); break; } arr.push(n+': '+stringValue+ ''); } return '{' + arr.join(', ') +' }'; }
  • Dec 02, 2009
    issue 80 (Invalid signature when calling GetStandardInfo first time th...) commented on by andjelkovic.ivan   -   I had the same issue and I think the problem is in the underlying javascript facebook library that is invoked from the actionscript facebook api. Workaround that I'm going to apply is to manually send the raw request to facebook restserver from actionscript.
    I had the same issue and I think the problem is in the underlying javascript facebook library that is invoked from the actionscript facebook api. Workaround that I'm going to apply is to manually send the raw request to facebook restserver from actionscript.
  • Dec 01, 2009
    r321 (Added new files, and couple code fixes.) committed by wgorgichuk   -   Added new files, and couple code fixes.
    Added new files, and couple code fixes.
  • Nov 30, 2009
    issue 112 (Error #2032: Stream Error) commented on by fitrimansor   -   figure out the source of the problem. i was accessing facebook thru ultrasurf. might be the reason for the stream error thing.
    figure out the source of the problem. i was accessing facebook thru ultrasurf. might be the reason for the stream error thing.
  • Nov 30, 2009
    issue 98 (GetInfo() on Friends recieves 'some' null responses) commented on by fitrimansor   -   have you try to cast the uid to Int or Number?.
    have you try to cast the uid to Int or Number?.
  • Nov 30, 2009
    issue 112 (Error #2032: Stream Error) reported by fitrimansor   -   What steps will reproduce the problem? 1. call GetInfo(uids, [GetInfoFieldValues.ALL_VALUES]) where uids is an Array. the same call was fine if using static array values. surprisingly, the same method was working just fine last week. did facebook edit their security permission or something?. What is the expected output? What do you see instead? expect to see the friend's list in datagrid, but it throwing out Error #2032: Stream Error. URL: http://api.facebook.com/restserver.php What version of the product are you using? On what operating system? I'm using Flex Builder 3 SDK 3.2 and Flash Player debugger for IE 9.0.246.0 Please provide any additional information below. I have not test it on Firefox or Safari. maybe the problem associated with web browser. and if it is, what's the solution?. thanks,
    What steps will reproduce the problem? 1. call GetInfo(uids, [GetInfoFieldValues.ALL_VALUES]) where uids is an Array. the same call was fine if using static array values. surprisingly, the same method was working just fine last week. did facebook edit their security permission or something?. What is the expected output? What do you see instead? expect to see the friend's list in datagrid, but it throwing out Error #2032: Stream Error. URL: http://api.facebook.com/restserver.php What version of the product are you using? On what operating system? I'm using Flex Builder 3 SDK 3.2 and Flash Player debugger for IE 9.0.246.0 Please provide any additional information below. I have not test it on Firefox or Safari. maybe the problem associated with web browser. and if it is, what's the solution?. thanks,
  • Nov 30, 2009
    issue 110 (you have SVN conflicts checked in in FqlMultiQuery and XMLDa...) commented on by ben.borowski   -   Oops, just submitted another ticket for this. The last commit was 2009-11-16 14:36:08 -0800 (Mon, 16 Nov 2009) so this has been broken for literally 2 weeks. Simple fix, please help us out.
    Oops, just submitted another ticket for this. The last commit was 2009-11-16 14:36:08 -0800 (Mon, 16 Nov 2009) so this has been broken for literally 2 weeks. Simple fix, please help us out.
  • Nov 30, 2009
    issue 111 (Revision 320 has commited conflicts) reported by ben.borowski   -   What steps will reproduce the problem? 1. Check out to latest revision (320) 2. Open XMLDataParser.as 3. Line 251 > 257 has a conflict that was commited and thus throws compile time errors
    What steps will reproduce the problem? 1. Check out to latest revision (320) 2. Open XMLDataParser.as 3. Line 251 > 257 has a conflict that was commited and thus throws compile time errors
  • Nov 28, 2009
    issue 110 (you have SVN conflicts checked in in FqlMultiQuery and XMLDa...) reported by sean.nyc   -   What steps will reproduce the problem? 1. look for the <<<<< .mine conflict markers in the files 2. fix them 3. dont be ridiculous.
    What steps will reproduce the problem? 1. look for the <<<<< .mine conflict markers in the files 2. fix them 3. dont be ridiculous.
  • Nov 27, 2009
    issue 88 (FacebookConnectUtil requires loaderInfo object - what about ...) commented on by m...@ramblingreports.com   -   Sorry Rupert, that is "flash only" code...flex deployments are accessed as I outline above Application.application.parameters. The issue is the typing of FacebookConnectUtil class...pixelguy's comemnts will fix the problem, but in truth, this part of the class should be updated / rewritten. FWIW, Matt
    Sorry Rupert, that is "flash only" code...flex deployments are accessed as I outline above Application.application.parameters. The issue is the typing of FacebookConnectUtil class...pixelguy's comemnts will fix the problem, but in truth, this part of the class should be updated / rewritten. FWIW, Matt
  • Nov 26, 2009
    issue 88 (FacebookConnectUtil requires loaderInfo object - what about ...) commented on by rupert.redington   -   I think you can get a loaderInfo object like this: var loader:LoaderInfo = Application.application.loaderInfo;
    I think you can get a loaderInfo object like this: var loader:LoaderInfo = Application.application.loaderInfo;
  • Nov 24, 2009
    issue 92 (API Not Working From Inside Facebook iFrame Canvas) commented on by tcheaves   -   Phil, I'm having the same exact problem. I was curious if you found a solution for this. Testing locally I get my app. to work fine, but when I load it up to facebook inside an iframe, I don't get the "Allow Access" pop-up box to appear. My code never gets past this check ( loaderInfo.parameters.fb_sig_api_key ). Any luck?
    Phil, I'm having the same exact problem. I was curious if you found a solution for this. Testing locally I get my app. to work fine, but when I load it up to facebook inside an iframe, I don't get the "Allow Access" pop-up box to appear. My code never gets past this check ( loaderInfo.parameters.fb_sig_api_key ). Any luck?
  • Nov 20, 2009
    issue 109 (com.facebook.data.photos.AlbumData visible:STRING) reported by thevaleriesolanas   -   What steps will reproduce the problem? 1. retrieve album Data 2. access visible property 3. What is the expected output? What do you see instead? Expected : String (Everyone, custom, only Friends...) Result : NaN What version of the product are you using? On what operating system? 3 Please provide any additional information below. It 's just a detail, but it got me puzzled for a moment so I thought I 'd better share it, case anyone stumbles upon it ... Just change the Datatype of visible in com.facebook.data.photos.AlbumData to String. Regards, Dmonkey
    What steps will reproduce the problem? 1. retrieve album Data 2. access visible property 3. What is the expected output? What do you see instead? Expected : String (Everyone, custom, only Friends...) Result : NaN What version of the product are you using? On what operating system? 3 Please provide any additional information below. It 's just a detail, but it got me puzzled for a moment so I thought I 'd better share it, case anyone stumbles upon it ... Just change the Datatype of visible in com.facebook.data.photos.AlbumData to String. Regards, Dmonkey
  • Nov 20, 2009
    issue 107 ('Incorrect Signature' returned on extended permission calls ...) commented on by Jeremiah.L.Alexander   -   resolved! We changed the Facebook embedding to Fbml as when using an iFrame it was not passing in the session secret.
    resolved! We changed the Facebook embedding to Fbml as when using an iFrame it was not passing in the session secret.
  • Nov 19, 2009
    issue 108 (facebookevent.complete returns a "1046: type was not found.....) reported by el.iagows   -   i've tried this code: public function VerAmigos() { var loaderInfo : LoaderInfo = new LoaderInfo(); //first, lets initialize the fbook session = new FacebookSessionUtil(API_KEY, SECRET_KEY, loaderInfo); session.addEventListener(FacebookEvent.CONNECT, onFacebookConnect, false, 0, true); fbook = session.facebook; } private function onFacebookConnect(e:FacebookEvent):void { trace("Is Facebook connected: " + fbook.is_connected); } but i recieve a "1046: Type was not found or was not a compile-time constant: FacebookEvent." does anybody knows why???? my imports: import com.facebook.Facebook; import com.facebook.commands.fql.FqlQuery; import com.facebook.commands.friends.GetFriends; import com.facebook.commands.users.GetInfo; import com.facebook.commands.users.HasAppPermission; import com.facebook.data.users.HasAppPermissionValues; import com.facebook.events.FacebookEvent; import com.facebook.net.FacebookCall; import com.facebook.utils.FacebookSessionUtil; import flash.display.LoaderInfo; import flash.events.Event; tks a lot
    i've tried this code: public function VerAmigos() { var loaderInfo : LoaderInfo = new LoaderInfo(); //first, lets initialize the fbook session = new FacebookSessionUtil(API_KEY, SECRET_KEY, loaderInfo); session.addEventListener(FacebookEvent.CONNECT, onFacebookConnect, false, 0, true); fbook = session.facebook; } private function onFacebookConnect(e:FacebookEvent):void { trace("Is Facebook connected: " + fbook.is_connected); } but i recieve a "1046: Type was not found or was not a compile-time constant: FacebookEvent." does anybody knows why???? my imports: import com.facebook.Facebook; import com.facebook.commands.fql.FqlQuery; import com.facebook.commands.friends.GetFriends; import com.facebook.commands.users.GetInfo; import com.facebook.commands.users.HasAppPermission; import com.facebook.data.users.HasAppPermissionValues; import com.facebook.events.FacebookEvent; import com.facebook.net.FacebookCall; import com.facebook.utils.FacebookSessionUtil; import flash.display.LoaderInfo; import flash.events.Event; tks a lot
  • Nov 19, 2009
    issue 12 (how can i simply count friends name.) commented on by el.iagows   -   all of my "facebookevent.complete" returns a "1046: Type was not found or was not a compile-time constant: FacebookEvent." does anybody knows why? =/ tks
    all of my "facebookevent.complete" returns a "1046: Type was not found or was not a compile-time constant: FacebookEvent." does anybody knows why? =/ tks
  • Nov 19, 2009
    issue 88 (FacebookConnectUtil requires loaderInfo object - what about ...) commented on by pixelsguy   -   this is a workaround for you. extend the FacebookConnectUtil and override any method that requires the LoaderInfo object, replacing it instead with a flashvars object. So anywhere that you pass in a loaderInfo:LoaderInfo, instead pass in a sessionVars:Object and wherever you see '_loaderInfo.parameters', just replace that with 'sessionVars' in the meantime, however, requiring a LoaderInfo object instead of the LoaderInfo's parameters object, doesnt make any sense to me. It should be the parameters object you pass in, which would allow for more flexible implementations of the class.
    this is a workaround for you. extend the FacebookConnectUtil and override any method that requires the LoaderInfo object, replacing it instead with a flashvars object. So anywhere that you pass in a loaderInfo:LoaderInfo, instead pass in a sessionVars:Object and wherever you see '_loaderInfo.parameters', just replace that with 'sessionVars' in the meantime, however, requiring a LoaderInfo object instead of the LoaderInfo's parameters object, doesnt make any sense to me. It should be the parameters object you pass in, which would allow for more flexible implementations of the class.
  • Nov 19, 2009
    issue 107 ('Incorrect Signature' returned on extended permission calls ...) reported by Jeremiah.L.Alexander   -   ++What steps will reproduce the problem? 1. We create a Flex application that uses the facebook Api as follows: m_fBSession = new FacebookSessionUtil(API_KEY,SECRET_KEY, loaderInfo); m_fBook = m_fBSession.facebook; if(loaderInfo.parameters.fb_sig_session_key) { m_fBSession.verifySession(); } else { m_fBSession.login(); } 2. We set the application type to Web in the Facebook application settings 3. All of our extended permission calls now return incorrect signature, e.g.: m_fBook.post(new UploadPhoto(image.bitmapData, aid, "New Photo ") ); ++What is the expected output? What do you see instead? This works fine if the application type is set to desktop even when uploaded and embedded in Facebook. But we can't have the application type as Desktop because this breaks our php scripts we use for sending out notifications to users from our server ++Please provide any additional information below. I believe this might be something to do with session secrets but I thought that was handled automatically for you by FacebookSessionUtil? Any ideas are really appreciated. Thanks.
    ++What steps will reproduce the problem? 1. We create a Flex application that uses the facebook Api as follows: m_fBSession = new FacebookSessionUtil(API_KEY,SECRET_KEY, loaderInfo); m_fBook = m_fBSession.facebook; if(loaderInfo.parameters.fb_sig_session_key) { m_fBSession.verifySession(); } else { m_fBSession.login(); } 2. We set the application type to Web in the Facebook application settings 3. All of our extended permission calls now return incorrect signature, e.g.: m_fBook.post(new UploadPhoto(image.bitmapData, aid, "New Photo ") ); ++What is the expected output? What do you see instead? This works fine if the application type is set to desktop even when uploaded and embedded in Facebook. But we can't have the application type as Desktop because this breaks our php scripts we use for sending out notifications to users from our server ++Please provide any additional information below. I believe this might be something to do with session secrets but I thought that was handled automatically for you by FacebookSessionUtil? Any ideas are really appreciated. Thanks.
  • Nov 18, 2009
    issue 106 (Problems with Facebook.grantExtendedPermission and pop up bl...) reported by phil...@cs.toronto.edu   -   Hi, Currently, I have to use Facebook.grantExtendedPermission in order to get the user to grant my app the permissions it needs. This is a big problem since the pop up blockers in Firefox and IE both stop the new tab containing the permission request from opening. This could really effect, in a bad way, how users interact with my application. Another option is to have dialogs open like what happens when you call FB.Connect.showPermissionDialog from javascript. Does the API contain something which allows me to access this functionaltiy from inside my Flash application? If so, will the dialog be shown on top of the flash application or will it be hidden by it? Thanks!
    Hi, Currently, I have to use Facebook.grantExtendedPermission in order to get the user to grant my app the permissions it needs. This is a big problem since the pop up blockers in Firefox and IE both stop the new tab containing the permission request from opening. This could really effect, in a bad way, how users interact with my application. Another option is to have dialogs open like what happens when you call FB.Connect.showPermissionDialog from javascript. Does the API contain something which allows me to access this functionaltiy from inside my Flash application? If so, will the dialog be shown on top of the flash application or will it be hidden by it? Thanks!
  • Nov 18, 2009
    issue 105 (Trunk Doesn't Compile) reported by cnunciato   -   Getting the following compile errors: 1046: Type was not found or was not a compile-time constant: FlashMedia (FacebookStreamXMLParser.as) 1046: Type was not found or was not a compile-time constant: MusicMedia (FacebookStreamXMLParser.as) 1120: Access of undefined property flash (StreamMediaData.as, line 59) Can't seem to find these files in the tree.
    Getting the following compile errors: 1046: Type was not found or was not a compile-time constant: FlashMedia (FacebookStreamXMLParser.as) 1046: Type was not found or was not a compile-time constant: MusicMedia (FacebookStreamXMLParser.as) 1120: Access of undefined property flash (StreamMediaData.as, line 59) Can't seem to find these files in the tree.
  • Nov 18, 2009
    issue 104 (FacebookConnectUtil improvements) reported by tylerault   -   Using v3.3 and the ConnectDemo, I found an improvement to the FacebookConnectUtil: Currently, the FacebookConnectUtil constructor expects a LoaderInfo object, with as_swf_name in its parameters object to identify the SWF. This is an ugly and unnecessary practice. Using ExternalInterface.objectID, you can automatically get a reference to the id of the SWF on the page. So, in the injected JS call within callMethod(), it would be best to use: "document.getElementById('" + ExternalInterface.objectID + "');" The FacebookConnectUtil should not need to know about FlashVars or the LoaderInfo object. Attached is my edited class.
    Using v3.3 and the ConnectDemo, I found an improvement to the FacebookConnectUtil: Currently, the FacebookConnectUtil constructor expects a LoaderInfo object, with as_swf_name in its parameters object to identify the SWF. This is an ugly and unnecessary practice. Using ExternalInterface.objectID, you can automatically get a reference to the id of the SWF on the page. So, in the injected JS call within callMethod(), it would be best to use: "document.getElementById('" + ExternalInterface.objectID + "');" The FacebookConnectUtil should not need to know about FlashVars or the LoaderInfo object. Attached is my edited class.
  • Nov 17, 2009
    issue 103 (Code won't compile) commented on by kristoferjoseph   -   I am also seeing this issue. Using the source is not possible at this time. You can only use the precompiled swc.
    I am also seeing this issue. Using the source is not possible at this time. You can only use the precompiled swc.
  • Nov 16, 2009
    issue 103 (Code won't compile) reported by tconkling   -   What steps will reproduce the problem? 1. Compile the code. What is the expected output? What do you see instead? It seems like the last checkin, r320, was made in error. The FlashMedia and MusicMedia classes are missing, and XMLDataParser has an unresolved merge conflict on line 251.
    What steps will reproduce the problem? 1. Compile the code. What is the expected output? What do you see instead? It seems like the last checkin, r320, was made in error. The FlashMedia and MusicMedia classes are missing, and XMLDataParser has an unresolved merge conflict on line 251.
  • Nov 16, 2009
    r320 (Bug fixes: http://code.google.com/p/facebook-actionscript-...) committed by wgorgichuk   -   Bug fixes: http://code.google.com/p/facebook-actionscript-api/issues/detail?id=85 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=87 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=78 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=46 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=74 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=79 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=86 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=99 Change Log: // - Removed Timeouts from delegates and facebook calls - Tweaked upload delegates so it can support null images (ie. optional image param) - Modified FacebookXMLParserUtils to support new AlbumData properties - Changed appProperties from array to object in GetAppPropertiesData - Changed SetAppProperties to use object and JSON encoding - Reworked logic in GetPublicInfo - Added object_id and null checking in AddComments - Added object_id and null checking in RemoveComments - Added object_id, post_id and null checking in GetComments - Changed queries from object to JSON string in FqlMultiquery - Added entry for fql.multiQuery in XMLDataParser - Added description parsing for GetPublicInfo in XMLDataParser - Fixed issue with switched uid and message for GetStatusData - Fixed a few bugs in XMLDataParser - Made uid optional in CreateNotes - Added note_id, removed title and content, and made uid optional in DeleteNotes - Made note_id required, added optional uid in EditNotes - Changed string default values from '' to null - Fixed schema error in SendEmail, made text and fbml optional, and added null checking - Removed type and pages array from GetInfo - Fixed AddTag and PhotoTagCollection - Made data required in UploadPhoto - Made uid optional in GetStatus - Fixed PublishPost - Added fixes in FacebookStreamXMLParser - Removed format from GetStandardInfo - Other minor bug fixes and tweaks Added classes and packages: com.facebook.commands.events.Invite com.facebook.commands.users.IsVerified com.facebook.data.stream.ActionLinkCollection com.facebook.data.stream.ActionLinkData com.facebook.data.stream.FlashMedia com.facebook.data.stream.MusicMedia
    Bug fixes: http://code.google.com/p/facebook-actionscript-api/issues/detail?id=85 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=87 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=78 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=46 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=74 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=79 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=86 http://code.google.com/p/facebook-actionscript-api/issues/detail?id=99 Change Log: // - Removed Timeouts from delegates and facebook calls - Tweaked upload delegates so it can support null images (ie. optional image param) - Modified FacebookXMLParserUtils to support new AlbumData properties - Changed appProperties from array to object in GetAppPropertiesData - Changed SetAppProperties to use object and JSON encoding - Reworked logic in GetPublicInfo - Added object_id and null checking in AddComments - Added object_id and null checking in RemoveComments - Added object_id, post_id and null checking in GetComments - Changed queries from object to JSON string in FqlMultiquery - Added entry for fql.multiQuery in XMLDataParser - Added description parsing for GetPublicInfo in XMLDataParser - Fixed issue with switched uid and message for GetStatusData - Fixed a few bugs in XMLDataParser - Made uid optional in CreateNotes - Added note_id, removed title and content, and made uid optional in DeleteNotes - Made note_id required, added optional uid in EditNotes - Changed string default values from '' to null - Fixed schema error in SendEmail, made text and fbml optional, and added null checking - Removed type and pages array from GetInfo - Fixed AddTag and PhotoTagCollection - Made data required in UploadPhoto - Made uid optional in GetStatus - Fixed PublishPost - Added fixes in FacebookStreamXMLParser - Removed format from GetStandardInfo - Other minor bug fixes and tweaks Added classes and packages: com.facebook.commands.events.Invite com.facebook.commands.users.IsVerified com.facebook.data.stream.ActionLinkCollection com.facebook.data.stream.ActionLinkData com.facebook.data.stream.FlashMedia com.facebook.data.stream.MusicMedia
  • Nov 16, 2009
    r319 (Tagged Version 3.3) committed by wgorgichuk   -   Tagged Version 3.3
    Tagged Version 3.3
  • Nov 15, 2009
    issue 102 (in the desktop app, need feedback after user close prompt-p...) reported by yuan.w0811   -   What steps will reproduce the problem? 1. in the desktop app, using desktopSessionHelper to grant permissions 2. prompt-permission Window show 3. user grant permissions or not What is the expected output? What do you see instead? there should be some events generated, after user closed the prompt- permission windows, so the application will to check whether permissions are granted or not. PERMISSION_CHANGE does not happen, when user added permission. What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. in the desktop app, using desktopSessionHelper to grant permissions 2. prompt-permission Window show 3. user grant permissions or not What is the expected output? What do you see instead? there should be some events generated, after user closed the prompt- permission windows, so the application will to check whether permissions are granted or not. PERMISSION_CHANGE does not happen, when user added permission. What version of the product are you using? On what operating system? Please provide any additional information below.
  • Nov 13, 2009
    issue 101 (Publishing video to wall via publish.stream - no luck!) reported by jpetrarca   -   What steps will reproduce the problem? 1.using PublishPost how I'm using it 2. 3. What is the expected output? What do you see instead? I want a video to be published to my wall. instead, nothing is being published. What version of the product are you using? On what operating system? V3.3 source files, trying on XP, MacOSX (both). This is being viewed inside a fb application pointing to my localhost machine, wherever I am... so is running locally Please provide any additional information below. Thanks, all. I haven't found an example to publish a video to my wall... Here's my code: function readyPost(e:Event):void{//on publish click var msgString = "Check this out!"; var mediaObject:Object = { 'type': 'video', 'href': 'http://xxx.com/something.flv, 'preview_image': 'http://xxx.com/images/75x75.jpg', 'video_link': 'http://xxx.com/' } var attachment:Object = { 'name': 'My Movie', 'media': [mediaObject] } var actionLinkData:ActionLinkData = new ActionLinkData(); actionLinkData.href = "http://xxx.com/"; actionLinkData.text = "Visit My Site!"; var post:PublishPost = new PublishPost(msgString, attachment, [actionLinkData]); var c:FacebookCall = new FacebookCall(); c.addEventListener( FacebookEvent.COMPLETE, wallComplete ); c = fb.post( post ); log ('posted to fb'); function wallComplete(e:FacebookEvent):void{ log ("result, code: "+e.error.errorCode+" msg: "+e.error.errorMsg +" success: "+e.success); } If I change var post:PublishPost = new PublishPost("howdy, partner"); It works. I can't run in my player, so I'm not seeing any errors. Both times, I see the log console read "posted to fb". It is just the one with the complex info isn't being posted... Ideas? examples? Thanks!
    What steps will reproduce the problem? 1.using PublishPost how I'm using it 2. 3. What is the expected output? What do you see instead? I want a video to be published to my wall. instead, nothing is being published. What version of the product are you using? On what operating system? V3.3 source files, trying on XP, MacOSX (both). This is being viewed inside a fb application pointing to my localhost machine, wherever I am... so is running locally Please provide any additional information below. Thanks, all. I haven't found an example to publish a video to my wall... Here's my code: function readyPost(e:Event):void{//on publish click var msgString = "Check this out!"; var mediaObject:Object = { 'type': 'video', 'href': 'http://xxx.com/something.flv, 'preview_image': 'http://xxx.com/images/75x75.jpg', 'video_link': 'http://xxx.com/' } var attachment:Object = { 'name': 'My Movie', 'media': [mediaObject] } var actionLinkData:ActionLinkData = new ActionLinkData(); actionLinkData.href = "http://xxx.com/"; actionLinkData.text = "Visit My Site!"; var post:PublishPost = new PublishPost(msgString, attachment, [actionLinkData]); var c:FacebookCall = new FacebookCall(); c.addEventListener( FacebookEvent.COMPLETE, wallComplete ); c = fb.post( post ); log ('posted to fb'); function wallComplete(e:FacebookEvent):void{ log ("result, code: "+e.error.errorCode+" msg: "+e.error.errorMsg +" success: "+e.success); } If I change var post:PublishPost = new PublishPost("howdy, partner"); It works. I can't run in my player, so I'm not seeing any errors. Both times, I see the log console read "posted to fb". It is just the one with the complex info isn't being posted... Ideas? examples? Thanks!
  • Nov 13, 2009
    issue 100 (callMethod("streamPublish", '',attachment) with media don´t ...) reported by luisenesi   -   What steps will reproduce the problem? 1.Use facebookconnectUtil all working good 2. Create an attachment object attachment.media= [{'type':"image",'src':"xxxxxxx",'href':"xxxxx"}] 3.connect.callMethod("streamPublish", '',attachment) Evrething works good if you dont use the media argument in the object. exepts the facebook event of the facebook call don´t work When facebook stream windows comes says that the media must be and array and i don´t get it because is already and array. Actauly if you call it with javascript via external Interfase evrething works good. What is the expected output? What do you see instead? Is the streamPublish method working with media attached What version of the product are you using? On what operating system? Facebook_library_v3.3_flash.swc Please provide any additional information below.
    What steps will reproduce the problem? 1.Use facebookconnectUtil all working good 2. Create an attachment object attachment.media= [{'type':"image",'src':"xxxxxxx",'href':"xxxxx"}] 3.connect.callMethod("streamPublish", '',attachment) Evrething works good if you dont use the media argument in the object. exepts the facebook event of the facebook call don´t work When facebook stream windows comes says that the media must be and array and i don´t get it because is already and array. Actauly if you call it with javascript via external Interfase evrething works good. What is the expected output? What do you see instead? Is the streamPublish method working with media attached What version of the product are you using? On what operating system? Facebook_library_v3.3_flash.swc Please provide any additional information below.
  • Nov 12, 2009
    issue 99 (Error in FacebookConnectUtil) reported by molandim   -   I found a error in FacebookConnectUtil line 95: call.facebook_internal::handelResult(data); change for: call.facebook_internal::handleResult(data);
    I found a error in FacebookConnectUtil line 95: call.facebook_internal::handelResult(data); change for: call.facebook_internal::handleResult(data);
  • Nov 10, 2009
    issue 98 (GetInfo() on Friends recieves 'some' null responses) reported by sstringa   -   What steps will reproduce the problem? 1. Source code included... 2. I receive about 15 of 61 valid responses from GetInfo() 3. What is the expected output? What do you see instead? I would expect that every callback would receive non-null data. What version of the product are you using? On what operating system? Actionscript 3.3 Library with Flash CS4 Please provide any additional information below. My friends have valid data, but about 4/5th's of my callbacks have null data.
    What steps will reproduce the problem? 1. Source code included... 2. I receive about 15 of 61 valid responses from GetInfo() 3. What is the expected output? What do you see instead? I would expect that every callback would receive non-null data. What version of the product are you using? On what operating system? Actionscript 3.3 Library with Flash CS4 Please provide any additional information below. My friends have valid data, but about 4/5th's of my callbacks have null data.
  • Nov 10, 2009
    issue 97 (Publish Post updates Status - I just want to post to the wal...) reported by sstringa   -   What steps will reproduce the problem? 1. Source code below 2. 3. What is the expected output? What do you see instead? I want to publish to the wall without updating the users status. What version of the product are you using? On what operating system? I'm using the ActionScript v3.3 Library with Flash CS4. Please provide any additional information below. I have granted the ExtendedPermissionValues.STATUS_UPDATE, but I'm not sure if that's the correct permission.
    What steps will reproduce the problem? 1. Source code below 2. 3. What is the expected output? What do you see instead? I want to publish to the wall without updating the users status. What version of the product are you using? On what operating system? I'm using the ActionScript v3.3 Library with Flash CS4. Please provide any additional information below. I have granted the ExtendedPermissionValues.STATUS_UPDATE, but I'm not sure if that's the correct permission.
  • Nov 09, 2009
    issue 96 (AIR Connect Link Error....) commented on by sstringa   -   I am not getting any location of that error and I was assuming that it was within the .SWC.
    I am not getting any location of that error and I was assuming that it was within the .SWC.
  • Nov 09, 2009
    issue 96 (AIR Connect Link Error....) reported by sstringa   -   What steps will reproduce the problem? 1. Copy over code from AIR Connect Demo to My application 2. Flash CS4 AS3 3. What is the expected output? What do you see instead? A compiled .swf What version of the product are you using? On what operating system? Vista Flash CS4 AS3 Please provide any additional information below. 1046: Type was not found or was not a compile-time constant: HTMLLoader.
    What steps will reproduce the problem? 1. Copy over code from AIR Connect Demo to My application 2. Flash CS4 AS3 3. What is the expected output? What do you see instead? A compiled .swf What version of the product are you using? On what operating system? Vista Flash CS4 AS3 Please provide any additional information below. 1046: Type was not found or was not a compile-time constant: HTMLLoader.
  • Nov 09, 2009
    issue 95 (Issue of grant permissons using DesktopSessionHelper) reported by dborisenko   -   What steps will reproduce the problem? 1. I tried your example: http://code.google.com/p/facebook-actionscript-api/source/browse/#svn/trunk/examples/AIRConnectDemo/Flex/src 2. Input API key, added Facebook_library_with_AIRConnect_v3.3_flex.swc 3. In the windo, I click Login 4. select any permission, for example, I select "offline_access", click grant permissions 5. It asks me to connect to FB (input email & pwd). I input it, click connect. 6. Now it must ask me to grant offlice access permission. But instead of this it asks me again to connect to facebook (step 5). If I input it - it asks me again. and again and again... What is the expected output? What do you see instead? It should ask user to grant access permission. But instead of this it asks me again to connect to facebook What version of the product are you using? On what operating system? Facebook_library_with_AIRConnect_v3.3_flex, Windows 7 Please provide any additional information below.
    What steps will reproduce the problem? 1. I tried your example: http://code.google.com/p/facebook-actionscript-api/source/browse/#svn/trunk/examples/AIRConnectDemo/Flex/src 2. Input API key, added Facebook_library_with_AIRConnect_v3.3_flex.swc 3. In the windo, I click Login 4. select any permission, for example, I select "offline_access", click grant permissions 5. It asks me to connect to FB (input email & pwd). I input it, click connect. 6. Now it must ask me to grant offlice access permission. But instead of this it asks me again to connect to facebook (step 5). If I input it - it asks me again. and again and again... What is the expected output? What do you see instead? It should ask user to grant access permission. But instead of this it asks me again to connect to facebook What version of the product are you using? On what operating system? Facebook_library_with_AIRConnect_v3.3_flex, Windows 7 Please provide any additional information below.
  • Nov 05, 2009
    issue 94 (JavascriptRequestHelper Null Argument) reported by Professo...@aim.com   -   What steps will reproduce the problem? Pass null as an argument like so: fbConnect.callMethod("someMethod", "", [1, 2], null, "five"); What is the expected output? What do you see instead? One expects to see just plain null as a parameter in the jsbridge method rather than null surrounded by quotation marks. What version of the product are you using? On what operating system? V. 3.3 on Windows Vista Home Premium 64bit Please provide any additional information below. After stepping through this issue in fdb, I added a null value check in JavascriptRequestHelper.formatParams. Here is the new version of the function which works for me: public static function formatParams(params:Array):String { var newParams:Array = []; var l:uint = params.length; for (var i:uint=0;i<l;i++) { var value:Object = params[i]; if (value != null) { var qualifiedClassName:String = getQualifiedClassName (value); switch (qualifiedClassName) { case 'Array': value = '['+value.join(', ')+']'; break; case 'Object': value = objectToString(value); break; case 'String': default: value = '"'+value+'"'; break; } } else { value = "null"; } newParams.push(value); } return newParams.join(', '); }
    What steps will reproduce the problem? Pass null as an argument like so: fbConnect.callMethod("someMethod", "", [1, 2], null, "five"); What is the expected output? What do you see instead? One expects to see just plain null as a parameter in the jsbridge method rather than null surrounded by quotation marks. What version of the product are you using? On what operating system? V. 3.3 on Windows Vista Home Premium 64bit Please provide any additional information below. After stepping through this issue in fdb, I added a null value check in JavascriptRequestHelper.formatParams. Here is the new version of the function which works for me: public static function formatParams(params:Array):String { var newParams:Array = []; var l:uint = params.length; for (var i:uint=0;i<l;i++) { var value:Object = params[i]; if (value != null) { var qualifiedClassName:String = getQualifiedClassName (value); switch (qualifiedClassName) { case 'Array': value = '['+value.join(', ')+']'; break; case 'Object': value = objectToString(value); break; case 'String': default: value = '"'+value+'"'; break; } } else { value = "null"; } newParams.push(value); } return newParams.join(', '); }
  • Nov 05, 2009
    issue 92 (API Not Working From Inside Facebook iFrame Canvas) commented on by phil...@cs.toronto.edu   -   Sorry, that was my fault. I was printing the values to the screen and I made my output textbox too small. Here is the full list of parameters. I will go through the checklist you have provided as well. And I will check out the FBML route, though I hear from people that it is more restrictive. fb_sig_ss = 2QE1LivKKsAN9b1mUdRlaQ__ fb_sig_in_new_facebook = 1 fb_sig_iframe_key = 751d31dd6b56b26b29dac2c0e1839e34 fb_sig_time = 1257452061.051 fb_sig_expires = 1257541200 fb_sig_profile_update_time = 1242527088 fb_sig_api_key = <CORRECT> fb_sig_user = <CORRECT> fb_sig_ext_perms = auto_publish_recent_activity fb_sig_added = 1 fb_sig = bd2c1c6f693c8c91f72e9948162ecd2b fb_sig_locale = en_US fb_sig_session_key = 2.iarIqcvrqpjI9xp3LtJlfA__.86400.1257541200-653203980 fb_sig_app_id = 141833746918 fb_sig_in_iframe = 1 They all look okay to me... I've got version 3.3 of the API. I think I am doing everything on your checklist... I will try with FBML.
    Sorry, that was my fault. I was printing the values to the screen and I made my output textbox too small. Here is the full list of parameters. I will go through the checklist you have provided as well. And I will check out the FBML route, though I hear from people that it is more restrictive. fb_sig_ss = 2QE1LivKKsAN9b1mUdRlaQ__ fb_sig_in_new_facebook = 1 fb_sig_iframe_key = 751d31dd6b56b26b29dac2c0e1839e34 fb_sig_time = 1257452061.051 fb_sig_expires = 1257541200 fb_sig_profile_update_time = 1242527088 fb_sig_api_key = <CORRECT> fb_sig_user = <CORRECT> fb_sig_ext_perms = auto_publish_recent_activity fb_sig_added = 1 fb_sig = bd2c1c6f693c8c91f72e9948162ecd2b fb_sig_locale = en_US fb_sig_session_key = 2.iarIqcvrqpjI9xp3LtJlfA__.86400.1257541200-653203980 fb_sig_app_id = 141833746918 fb_sig_in_iframe = 1 They all look okay to me... I've got version 3.3 of the API. I think I am doing everything on your checklist... I will try with FBML.
  • Nov 05, 2009
    issue 92 (API Not Working From Inside Facebook iFrame Canvas) commented on by invadererik   -   for correct connection you should be getting about 17 parameters including most importantly : fb_sig_session_key ... when I hadn't , authorized the app, I remember getting way less parameters. So again I suggest you try it the FBML route, with the php file looking exactly like the one I posted. If that works, then at least you know what the problem is. If you are doing exactly that, and the problem persists, then im not sure what the problem is. Are you the first developer on the app, or one of several ? Maybe Go through all the steps: *make sure your facebook app settings are correct *you have the latest versions of both the as3 api and the php lib *you have php file thats linking correctly to the lib and your swf *youre api_key and or secret key should never be included in your swf *check the http response from facebook to see if your session secret is being sent *make sure the little authentication for this app window pops up from facebook if you are not the "owner" of the app. Thats all I can think of.
    for correct connection you should be getting about 17 parameters including most importantly : fb_sig_session_key ... when I hadn't , authorized the app, I remember getting way less parameters. So again I suggest you try it the FBML route, with the php file looking exactly like the one I posted. If that works, then at least you know what the problem is. If you are doing exactly that, and the problem persists, then im not sure what the problem is. Are you the first developer on the app, or one of several ? Maybe Go through all the steps: *make sure your facebook app settings are correct *you have the latest versions of both the as3 api and the php lib *you have php file thats linking correctly to the lib and your swf *youre api_key and or secret key should never be included in your swf *check the http response from facebook to see if your session secret is being sent *make sure the little authentication for this app window pops up from facebook if you are not the "owner" of the app. Thats all I can think of.
 
Hosted by Google Code