grime2d / facebook-actionscript-api Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/facebook-actionscript-api
Automatically exported from code.google.com/p/facebook-actionscript-api
Able to get city, state and country variables from VenueData, but street:String
returns undefined.
I can see it on facebook. Is the "street" data being extracted?
using downloaded example "DISPLAY A LIST OF FACEBOOK EVENTS" from:
http://www.adobe.com/devnet/facebook/samples/index.html
added line at 73(ish): <mx:Label text="Street: {data.venue.street}" x="200"
y="45"/>
Original issue reported on code.google.com by [email protected]
on 6 Apr 2009 at 5:25
What steps will reproduce the problem?
1. var getPublicInfo : GetPublicInfo = new GetPublicInfo();
2. var call : FacebookCall = session.facebook.post(getPublicInfo);
3. call.addEventListener(FacebookEvent.COMPLETE, onGetPublicInfo);
What is the expected output? What do you see instead?
Expect the application public info but get an error message instead.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Passing in the app ID or app API key results in the same error.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2009 at 5:45
1. ENUMs in EventCategoriesValues and EventSubcategoriesValues are properly
typed as Number.
2. The variables for which they are designed are typed as String (all the
following classes are in the com.facebook.data.events package):
CreateEventData.category:String;
CreateEventData.subcategory:String;
EditEventData.category:String;
EditEventData.subcategory:String;
EventData.event_type:String;
EventData.event_subtype:String;
FacebookEventData.event_type:String;
FacebookEventData.event_subtype:String;
Original issue reported on code.google.com by [email protected]
on 31 Mar 2009 at 11:54
These methodNames are missing in XMLDataParser.parse resulting in error "Method
not found".
data.getAssociatedObjects
data.setAssociation
Also, parameter 'method' in the constructor of Data.SetAssociation is empty:
public function SetAssociation(name:String, obj_id1:String,
obj_id2:String,data:String = null,
assoc_time:Date = null) {
super(method, args);
Original issue reported on code.google.com by [email protected]
on 15 Apr 2009 at 2:22
Facebook is not offering facebook's desktop apps anymore
Original issue reported on code.google.com by fernando.wermus
on 2 Jan 2009 at 3:23
What steps will reproduce the problem?
1.when using the new classes of STREAM
2.some structure of the classes seem incorrect
3.e.g AttachmentData the var inside not enough when ref. to FB API
stream.publish
What is the expected output? What do you see instead?
Only can feed the message to the news page, the attachment and action_link
can't show
What version of the product are you using? On what operating system?
I am using Flash CS3 with facebook-actionscript-api 3.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 20 May 2009 at 8:09
What steps will reproduce the problem?
1. Use the API in AS3 flash
What is the expected output? What do you see instead?
When using for instance service.friends.get() I seem to get this problem:
http://www.ultrashock.com/forums/data-communication/gzip-compression-flash-playe
r-ie6-
nightmare-122911.html
Namely that the 'complete' event is never fired, because IE6 does not serve the
un-gzipped
content to the flash file. It means this library doesn't work in IE6. My
projects work everywhere
but in IE6.
What version of the product are you using? On what operating system?
Windows Internet Explorer 6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Dec 2008 at 9:35
What steps will reproduce the problem?
1.Create a FacebookCall for PostLink
2.Try it.
3.A link is posted when i use the app directly in flash (ctrl+enter) but
nothing appened when i use the application in facebook (the event COMPLETE
is anyway triggered).
I make a call for post a link but it works only in flash on my hd. when i
upload all, i try the application in facebook (apps.facebook.com/app_name)
and everything works, excepted the post of the link (but the event
FacebookEvent.COMPLETE is triggered)... i don't know. The same appened with
CreateNotes.
Thanx.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2009 at 10:31
In com.facebook.data.users.FacebookUserCollection the getUserById method takes
a uid for its only
param. Its declared as int, but in com.facebook.data.users.FacebookUser uid is
declared as a String.
Should getUserById take a String instead?
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 6:43
Is there a reason that code is only part of a sample and not part of the actual
api source?
I also believe that the login dialogueClosed method in fb.FBConnect needs this
line added:
dialog.removeEventListener(FBEvent.CLOSED, loginDialogClosed);
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 6:54
What steps will reproduce the problem?
1. fbook.post(new GetEvents(fbook.uid,null,yesterday));
2. for loop through.. "responseData.eventCollection.getItemAt
(i).start_time"
3.compare specific event's start time (on facebook) with the GetEvents
data start_time
What is the expected output? What do you see instead?
time/date as listed on actual event listing. 3 hours ahead.
What version of the product are you using? On what operating system?
3.1 / Vista
Please provide any additional information below.
My computer's clock reads E.S.T. (GMT - 4:00).
Facebook seems to list their User's timezone as GMT -"The time offset
relative to GMT (e.g., California is -8)." :
http://wiki.developers.facebook.com/index.php/Users.getStandardInfo
while their event times are listed as UTC "An integer representing the
number of seconds since January 1, 1970 (UTC). Commonly known as "unix
time." : http://wiki.developers.facebook.com/index.php/Time#time
While confusing, This would make sense to me if the returned start_time
were -4 rather than -3.
As well, I am leaving "end_time" out of the GetEvents function call
because it returns wildly varying results.
I am guessing the string you are converting in the toDate function is
already relative to the event's locale since it is not already a date or
number.
Your response/help would be greatly appreciated, as is your work.
Keylo.
Original issue reported on code.google.com by [email protected]
on 22 May 2009 at 7:42
Hi,
I am trying to use setStatus to update the user status in chinese. however,
I got an error:
==============================================================
> > > calling method [direct]: facebook.users.setStatus
+status_includes_verb = true
+status = 中文
< < < received facebook reply [direct]:
{"error_code":104,"error_msg":"Incorrect
signature","request_args":[{"key":"format","value":"JSON"},{"key":"sig","value":
"1c763e5ac980d2de1497f5f2e9281b2b"},{"key":"status","value":"\u4e2d\u6587"},{"ke
y":"session_key","value":"2.vDAngPZCIFjGfwIfvUOaWQ__.86400.1237633200-1473374405
"},{"key":"method","value":"facebook.users.setStatus"},{"key":"status_includes_v
erb","value":"true"},{"key":"v","value":"1.0"},{"key":"api_key","value":"93c8472
7cf16e708fb88fad7177ade7c"},{"key":"call_id","value":"12375451360934"}]}
error making call: 104|Incorrect signature
==============================================================
this call is fine if the status is in English.
Is there any workaround if I really have to set the status in chinese?
This case is in flash.
Thanks!
Original issue reported on code.google.com by [email protected]
on 20 Mar 2009 at 10:39
What steps will reproduce the problem?
1. Upload a photo using an UploadPhoto post.
2. View the response in WebDelegate.onDataComplete.
3. The event target data is an URLLoader but the type is binary instead of
text.
4. The data passed down the chain to the FacebookEvent.COMPLETE listener
for the call is then null.
What is the expected output? What do you see instead?
Type should be text so that the cast to String does not become null.
What version of the product are you using? On what operating system?
Flash player 10 debug in Firefox 3.08 on Win XP.
Please provide any additional information below.
Instead of casting to String, using toString() works. Perhaps the type is
binary because binary data was uploaded in the first place. The response is
actually text though.
Original issue reported on code.google.com by [email protected]
on 7 Apr 2009 at 4:03
Hi,
when i make a call like this:
var call:FacebookCall = model.session.facebook.post(new GetInfo(uids,
[GetInfoFieldValues.ALL_VALUES]));
call.addEventListener(FacebookEvent.COMPLETE,
onCallComplete);
i can get "first_name","last_name","birthday" ecc... but i can get "sex"!!!
Flash return blank value, when i do a trace...
Do you know something about this?
Thank you.
Original issue reported on code.google.com by [email protected]
on 3 Apr 2009 at 7:30
In the following HTML wrapper from the lastest API Example, using this:
<html>
<head>
<title>ActionScript AS3 API Example</title>
<script
src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js
.php" type="text/javascript">
<!-- include the API from facebook's server -->
<script
src="http://static.ak.facebook.com/js/api_lib/FacebookApi.debug.js"
type="text/javascript"></script>
<!-- include swfobject library -->
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<script type="text/javascript">
//create a new instance of the JS API passing in my application key
and the location
//of my xd_receiver.htm file
var fb_js_api = new FB.ApiClient('MY API KEY
HERE', '/xd_receiver.htm', null);
//the first call (and only in our use) is to .requireLogin. If this
session hasn't been
//"validated" the user will either be asked to login and returned,
or the page could
//just refresh. Once this happens the session will be set and can
be forwarded onto the
//flash app so that it can use the API.
fb_js_api.requireLogin(function(exception)
{
//this function will only be called once we have a valid session
//define the flashVars
flashVars = {
user_id: fb_js_api.get_session().uid,
api_key: fb_js_api.apiKey,
secret: fb_js_api.get_session().secret,
session_key: fb_js_api.get_session().session_key,
expires: fb_js_api.get_session().expires,
fb_js_api_name: "fb_js_api",
as_app_name: "flashContent"
};
//now bring our .swf to the party. I prefer to use swfobject to
get this done but
//there are other solutions if you prefer. Make sure to pass in
the flashvars.
swfobject.embedSWF
("FB_API_EXAMPLE.swf", "flashContent", "100%", "100%", "9.0.0", "expressIns
tall.swf", flashVars);
});
</script>
<div id="flashContent"></div>
</body>
</html>
fb_js_api.apiKey is coming up as "UNDEFINED"
If I switch to:
api_key: fb_js_api.get_apiKey()
...then it seems to return my correct API key, launches the sample SWF,
does not throw any errors, but hangs on any calls, does not return a
friend list.
I've gotten all this to work fine as a desktop app, but launching from
FaceBook just won't seem to work.
Any help would be appreciated, looks like a great API for Flex, but I've
spent days on this now and can't seem to make it work.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2009 at 8:34
[deleted issue]
Currently, Event IDs are represented sometimes as String and sometimes as
Number. These are Facebook Events, such as parties, meetings, etc., not
programming events. The facebook server expects them as 64-bit integer
values. The closest to that in ActionScript is the Number data type.
In the com.facebook.commands.events package, eid vars are typed as String:
commands\events\CancelEvent.as(23):
public var eid:String;
commands\events\CancelEvent.as(26):
public function CancelEvent(eid:String, cancel_message:String = null) {
commands\events\EditEvent.as(26):
public var eid:String;
commands\events\EditEvent.as(29):
public function EditEvent(eid:String, event_info:EditEventData) {
commands\events\GetMembers.as(24):
public var eid:String;
commands\events\GetMembers.as(26):
public function GetMembers(eid:String) {
commands\events\RSVP.as(26):
public var eid:String;
commands\events\RSVP.as(29):
public function RSVP(eid:String, rsvp_status:String) {
However, in the com.facebook.data.events package, eid vars are typed as Number:
data\events\EventData.as(6):
public var eid:Number;
data\events\FacebookEventData.as(12):
public var eid:Number;
data\events\FacebookEventData.as(68):
public function FacebookEventData(eid:Number):void {
I may be missing some data type conversion that happens before the actual
call is made to the server, but it seems to me that it would be better to
have eid vars consistently typed as Number across the entire library.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2009 at 9:28
ListsData.flid is a Number and the GetFriends command constructor takes a
String for flid.
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 7:25
Everything was working great... then the just feeds just stopped
publishing. Not sure if it coincided with the API update?
Here's a debug version: http://client-projects.com/paramount_eagle_eye/fb/
As you can see, it connects just fine, pulls your job title etc. Where it
fails is in the story publishing. I've also tried publishStoryToUser() and
publishTemplatizedAction()... the callbacks fire and I get no error
messages. (And yes, I've "bookmarked" the app and given it full publishing
permissions.)
What makes this especially frustrating is that it used to work perfectly...
what changed???
Any help or ideas would be most appreciated!
Original issue reported on code.google.com by [email protected]
on 19 Aug 2008 at 4:46
What steps will reproduce the problem?
1. Get a user info by calling facebook.users.getInfo where the fields array
contains "status".
2. Attempt to access status message or time - both will be null.
What is the expected output? What do you see instead?
To be able to extract the status message and time.
What version of the product are you using? On what operating system?
v0.9.2 on Windows
Please provide any additional information below.
Can be fixed by changing lines 116 - 120 of FacebookUser.as from:
if(userProperties.status_message)
this.status_message = userProperties.status.message.toString();
if(userProperties.status_time)
this.status_time =
FacebookDataParser.formatDate(userProperties.status.time);
To:
if(userProperties.status)
{
this.status_message = userProperties.status.message.toString();
this.status_time =
FacebookDataParser.formatDate(userProperties.status.time);
}
Original issue reported on code.google.com by [email protected]
on 5 Nov 2008 at 5:02
while integrating the sample I got this error.... plz help
TypeError: Error #1034: Type Coercion failed: cannot convert
flash.events::Event@71c6831 to
com.pbking.facebook.delegates.friends.GetFriendsDelegate.
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
at
com.pbking.facebook.delegates::FacebookDelegate/com.pbking.facebook.delegates:Fa
cebookDelegate::onComplete()
at
com.pbking.facebook.delegates::FacebookDelegate/com.pbking.facebook.delegates:Fa
cebookDelegate::onCallComplete()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
at com.pbking.facebook::FacebookCall/::bridgeFacebookReply()
at com.pbking.facebook::FacebookCall$/::postBridgeAsyncReply()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at ()
at
flash.external::ExternalInterface$/flash.external:ExternalInterface::_callIn()
at ()
Original issue reported on code.google.com by [email protected]
on 31 Mar 2008 at 7:15
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at WebCamUploader/WebCamUploader::sendUserToAllow()[C:\DropBox\My
Dropbox\Jeff\APIs\facebook_flash_api\facebook_library_v3.0_source\facebook_sourc
e\
Original issue reported on code.google.com by [email protected]
on 31 Mar 2009 at 5:30
Hi,
I wish I had options to extend Facebook class. But most of its properties
and methods are private. Could you change private modificator to protected
in next version.
Why I need to extends from Facebook class?
1. Change the way facebook login page opened. I wish I could open facebook
not in browser with navigateToURL but with HTML control in air.
2. To have way getting session via auth_token only.
Stan
Original issue reported on code.google.com by [email protected]
on 8 Apr 2008 at 11:46
What steps will reproduce the problem?
1. Trying any of the examples, with my own application keys
2. Kept getting 'invalid signature' back from Facebook
3. Until I made the 'fix' I propose below
-----------------
In com/pbking/facebook/Facebook.as
replace:
line 437 this._secret = delegate.secret;
with:
this._secret = delegate.secret?delegate.secret:this._secret;
For some reason, Facebook was returning to me a delegate.secret set to
null, which was then over writing the previous (valid) secret - and caused
the signature computation to produce a wrong value, which was refused by
Facebook.
Not sure this is a fix, or a hack (most likely) - and didn't know where
else to share my finding so I just created a New Issue.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2009 at 7:31
What steps will reproduce the problem?
1. Set up an empty account or use some with no albums nor images
2. call GetAlbums with doGetImages = true
3.
What is the expected output? What do you see instead?
I expect the callback to be called with success=true and an empty array of
albums.
However an Incorrect signature error is printed in the log.
Just check if we have albums before making the calls to getCovers or
getImages
override protected function handleSuccess(result:Object):void
{
albums = [];
for each(var album:Object in result)
{
albums.push(new FacebookAlbum(album));
}
//first we get the covers then the images
if(doGetCovers && albums.length > 0)
this.getCovers();
else if(doGetImages && albums.length > 0)
this.getImages();
else
this.onComplete();
}
Original issue reported on code.google.com by [email protected]
on 13 Mar 2009 at 2:01
In the webcamUploader example I receive the "Error, Application FBML Call
did not Work"...
I get a 102 "Session key invalid or no longer valid" response from the
restserver.php, it shows that I have connected to facebook using the same
session key in from www.connect.facebook.com....
errr I am not sure what is going with this... I am a little new on the in
the facebook world.
let me know if you have any ideas....
Thanks
tykane33
Original issue reported on code.google.com by [email protected]
on 2 Apr 2009 at 4:05
Currently is seems I am unable to bind to a FacebookArrayCollection properly as
a dataProvider in
Flex. Im assuming this is because it doesn't implement the proper interface for
it. Do you think it
should extend mx.collections.ArrayCollection instead of the custom
FacebookArrayCollection?
Perhaps I am missing something.
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 6:51
What steps will reproduce the problem?
0. Open IE6 or IE7
1. Enter http://apps.facebook.com/ejemplosimple
2. Allow access of the application
3. Click the button "add to your profile" (Refresh if the button doesn't
appear.
4. Accept and keep the application on your profile
5. Click over the image for seeing the app.
What is the expected output? What do you see instead?
The application should appear, and you just see the image.
In IE7 the page goes to the begining.
What version of the product are you using? On what operating system?
Flash CS3
Release 3.1 of the facebook API
OS: Windows XP
Please provide any additional information below.
It seems to be a JavaScript problem.
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 10:47
Hi,
I know this is out of context question, But has anyone found a method(hack)
to send a chat message using the API's.
I am able to get the users Roster using the query api and send a
notification messages to users who are online. But would really love to
send a chat message through my app.
I tried sending a chat message by posting a httpService to
http://www.facebook.com/ajax/chat/send.php? (url followed by other
parametres), but it failed. Any help is greatly appreciated.
Thanks
Original issue reported on code.google.com by [email protected]
on 8 Apr 2009 at 12:36
There are 68 occurrences of METHOD_NAME as a public static var, and 45
occurrences of METHOD_NAME as a public static const. Seems to me that they
should all be public static const.
Here are the cases where they are var instead of const:
commands\admin\GetAllocation.as(20):
public static var METHOD_NAME:String = 'admin.getAllocation';
commands\admin\GetAppProperties.as(22):
public static var METHOD_NAME:String = 'admin.getAppProperties';
commands\admin\GetMetrics.as(22):
public static var METHOD_NAME:String = 'admin.getMetrics';
commands\admin\GetRestrictionInfo.as(17):
public static var METHOD_NAME:String = 'admin.getRestrictionInfo';
commands\admin\SetAppProperties.as(17):
public static var METHOD_NAME:String = 'admin.setAppProperties';
commands\auth\CreateToken.as(20):
public static var METHOD_NAME:String = 'auth.createToken';
commands\auth\ExpireSession.as(20):
public static var METHOD_NAME:String = 'auth.expireSession';
commands\auth\GetSession.as(22):
public static var METHOD_NAME:String = 'auth.getSession';
commands\auth\PromoteSession.as(20):
public static var METHOD_NAME:String = 'auth.promoteSession';
commands\auth\RevokeAuthorization.as(20):
public static var METHOD_NAME:String = 'auth.revokeAuthorization';
commands\batch\BatchRun.as(26):
public static var METHOD_NAME:String = 'batch.run';
commands\connect\GetUnconnectedFriendsCount.as(21):
public static var METHOD_NAME:String = 'connect.getUnconnectedFriendsCount';
commands\connect\RegisterUsers.as(23):
public static var METHOD_NAME:String = 'connect.registerUsers';
commands\connect\UnregisterUsers.as(22):
public static var METHOD_NAME:String = 'connect.unregisterUsers';
commands\data\CreateObjectType.as(23):
public static var METHOD_NAME:String = 'data.createObjectType';
commands\data\DefineObjectProperty.as(23):
public static var METHOD_NAME:String = 'data.defineObjectProperty';
commands\data\DropObjectType.as(22):
public static var METHOD_NAME:String = 'data.dropObjectType';
commands\data\GetAssociationDefinition.as(20):
public static var METHOD_NAME:String = 'data.getAssociationDefinition';
commands\data\GetCookies.as(22):
public static var METHOD_NAME:String = 'data.getCookies';
commands\data\GetUserPreference.as(21):
public static var METHOD_NAME:String = 'data.getUserPreference';
commands\data\GetUserPreferences.as(18):
public static var METHOD_NAME:String = 'data.getUserPreferences';
commands\data\RenameObjectProperty.as(24):
public static var METHOD_NAME:String = 'data.renameObjectProperty';
commands\data\RenameObjectType.as(23):
public static var METHOD_NAME:String = 'data.renameObjectType';
commands\data\SetCookie.as(23):
public static var METHOD_NAME:String = 'data.setCookie';
commands\data\SetUserPreference.as(21):
public static var METHOD_NAME:String = 'data.setUserPreference';
commands\data\SetUserPreferences.as(23):
public static var METHOD_NAME:String = 'data.setUserPreferences';
commands\data\UndefineObjectProperty.as(24):
public static var METHOD_NAME:String = 'data.undefineObjectProperty';
commands\events\CancelEvent.as(20):
public static var METHOD_NAME:String = 'events.cancel';
commands\events\CreateEvent.as(23):
public static var METHOD_NAME:String = 'events.create';
commands\events\EditEvent.as(23):
public static var METHOD_NAME:String = 'events.edit';
commands\events\GetEvents.as(21):
public static var METHOD_NAME:String = 'events.get';
commands\events\GetMembers.as(21):
public static var METHOD_NAME:String = 'events.getMembers';
commands\events\RSVP.as(23):
public static var METHOD_NAME:String = 'events.rsvp';
commands\feed\PublishTemplatizedAction.as(22):
public static var METHOD_NAME:String = 'feed.publishTemplatizedAction';
commands\fql\FqlQuery.as(20):
public static var METHOD_NAME:String = 'fql.query';
commands\friends\AreFriends.as(24):
public static var METHOD_NAME:String = 'friends.areFriends';
commands\friends\GetAppUsers.as(22):
public static var METHOD_NAME:String = 'friends.getAppUsers';
commands\friends\GetFriends.as(20):
public static var METHOD_NAME:String = 'friends.get';
commands\friends\GetLists.as(20):
public static var METHOD_NAME:String = 'friends.getLists';
commands\groups\GetGroupMembers.as(23):
public static var METHOD_NAME:String = 'groups.getMembers';
commands\groups\GetGroups.as(24):
public static var METHOD_NAME:String = 'groups.get';
commands\links\PostLink.as(20):
public static var METHOD_NAME:String = 'links.post';
commands\livemessage\SendLiveMessage.as(23):
public static var METHOD_NAME:String = 'liveMessage.send';
commands\notifications\GetNotifications.as(20):
public static var METHOD_NAME:String = 'notifications.get';
commands\notifications\SendEmail.as(22):
public static var METHOD_NAME:String = 'notifications.sendEmail';
commands\notifications\SendNotification.as(22):
public static var METHOD_NAME:String = 'notifications.send';
commands\pages\GetPageInfo.as(25):
public static var METHOD_NAME:String = 'pages.getInfo';
commands\pages\IsAdmin.as(23):
public static var METHOD_NAME:String = 'pages.isAdmin';
commands\pages\IsAppAdded.as(21):
public static var METHOD_NAME:String = 'pages.isAppAdded';
commands\pages\IsFan.as(23):
public static var METHOD_NAME:String = 'pages.isFan';
commands\photos\AddTag.as(21):
public static var METHOD_NAME:String = 'photos.addTag';
commands\photos\CreateAlbum.as(21):
public static var METHOD_NAME:String = 'photos.createAlbum';
commands\photos\GetAlbums.as(25):
public static var METHOD_NAME:String = 'photos.getAlbums';
commands\photos\GetPhotos.as(25):
public static var METHOD_NAME:String = 'photos.get';
commands\photos\GetTags.as(26):
public static var METHOD_NAME:String = 'photos.getTags';
commands\photos\UploadPhoto.as(17):
public static var METHOD_NAME:String = 'photos.upload';
commands\profile\GetFBML.as(16):
public static var METHOD_NAME:String = 'profile.getFBML';
commands\profile\GetInfoOptions.as(16):
public static var METHOD_NAME:String = 'profile.getInfoOptions';
commands\profile\ProfileGetInfo.as(16):
public static var METHOD_NAME:String = 'profile.getInfo';
commands\profile\SetFBML.as(16):
public static var METHOD_NAME:String = 'profile.setFBML';
commands\profile\SetInfo.as(24):
public static var METHOD_NAME:String = 'profile.setInfo';
commands\profile\SetInfoOptions.as(20):
public static var METHOD_NAME:String = 'profile.setInfoOptions';
commands\users\GetInfo.as(17):
public static var METHOD_NAME:String = 'users.getInfo';
commands\users\GetLoggedInUser.as(17):
public static var METHOD_NAME:String = 'users.getLoggedInUser';
commands\users\GetStandardInfo.as(22):
public static var METHOD_NAME:String = 'users.getStandardInfo';
commands\users\HasAppPermission.as(16):
public static var METHOD_NAME:String = 'users.hasAppPermission';
commands\users\IsAppUser.as(21):
public static var METHOD_NAME:String = 'users.isAppUser';
commands\users\SetStatus.as(21):
public static var METHOD_NAME:String = 'users.setStatus';
Found 68 occurrence(s) in 68 file(s)
Original issue reported on code.google.com by [email protected]
on 1 Apr 2009 at 4:48
What steps will reproduce the problem?
1. Define a class that utilizes FacebookUser.
2. Make a call to Facebook and get "hometown_location" (or any other
location), "birthday" (or any other date).
3. When the result is returned, apply FacebookUser.parseProperties on it.
What is the expected output? What do you see instead?
Expected output is an application running smoothly, but instead i see a
lot of parsing errors that crash my application.
What version of the product are you using? On what operating system?
fb_as3_api_v2 0.1.0
Using FlashDevelop RC1 (Compiling on flex), Windows XP SP3
Original issue reported on code.google.com by [email protected]
on 5 Mar 2009 at 8:13
There needs to be a check to see what type of session is currently running,
because for AIR apps, this method requires the session key rather than the
uid which is ignored for desktop apps. It will also need another argument
added to the function allowing the session key to be passed in.
The same goes for HasAppPermission, although this will throw an error if
you pass the uid and you're a desktop app.
Original issue reported on code.google.com by [email protected]
on 26 Apr 2009 at 3:19
Why are the public variables just:
public var flid:String;
public var uid:String;
Shouldn't it have a list of friend IDs instead of just a String? Maybe I'm
just confused, but how would I get a list of friend IDs like in the
previous version of this API.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2009 at 6:28
Currently looping through friends and calling each friends events
individuallly which takes close to an hour and often does not complete.
Hoping you might add the "Friends Events" call. It would be a great help.
Thanks,
Key.
Original issue reported on code.google.com by [email protected]
on 20 May 2009 at 1:22
What steps will reproduce the problem?
1. Use fbAs3Api.swc lib
2. Create a new project by using example source:
Facebook_Flex_example.mxml and also with fbas3api_sample_air.mxml
3. When launching the flex or the air app, I got the incorrect signature
problem message after logging into Facebook
What is the expected output? What do you see instead?
Incorrect signature problem message
> > > calling method [direct]: facebook.friends.get
< < < received facebook reply [direct]:
{"error_code":104,"error_msg":"Incorrect signature","request_args":
[{"key":"session_key","value":"2.RdmNb4YpTNaFSbCTecbsCg__.86400.1235149200-
1576241726"},{"key":"v","value":"1.0"},{"key":"format","value":"JSON"},
{"key":"call_id","value":"12350619291992"},
{"key":"sig","value":"0bcb01458e9fe0ed4dfe0f8c13b058ee"},
{"key":"method","value":"facebook.friends.get"},
{"key":"api_key","value":"356a34e9d6217e2116fcf0e47c04cb5e"}]}
error making call: 104|Incorrect signature
What version of the product are you using? On what operating system?
v2_0.1.0
Please provide any additional information below.
I got the same error message with flex and air app.
Original issue reported on code.google.com by [email protected]
on 19 Feb 2009 at 4:50
What steps will reproduce the problem?
1. Use the API to tag a photo
2. JSON string contains "xcoord":50 which should be "x":50
3. Photo not tagged correctly (position defaults to 0,0)
What is the expected output? What do you see instead?
Expect to tag in centre, tags at top-left.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Will also need to change com.facebook.data.XMLDataParser as this references
xcoord, ycoord.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2009 at 11:12
I'm trying to develop an application solely from Flash and use the
Flex/Flash example provided as a guideline.
Basically after adding one line of import flash.display.textField, the
FlashCS3Example.fla compiles. As in the example provided, I run the example
as Desktop Application. It then requires log-in to Facebook, and after the
authentication, it calls the _fb.friends.getFriends( _onGetFriends );It
returns error saying that it is an incorrect signature.
Any clue why this is happening?
Here is the error message I get,
"received facebook reply:
{"error_code":104,"error_msg":"Incorrect signature","request_args":...."
Original issue reported on code.google.com by [email protected]
on 23 Sep 2008 at 4:20
What steps will reproduce the problem?
I copied the following basic code from
http://www.insideria.com/2009/05/using-the-brand-new-facebook-a.html
------------------------------------------------------------------
import com.facebook.data.users.GetInfoData;
import com.facebook.utils.FacebookSessionUtil;
import com.facebook.data.users.FacebookUser;
import com.facebook.data.users.GetInfoFieldValues;
import com.facebook.commands.users.GetInfo;
import com.facebook.net.FacebookCall;
import com.facebook.events.FacebookEvent;
import com.facebook.Facebook;
import flash.utils.*;
var fbook:Facebook;
var session:FacebookSessionUtil;
var user:FacebookUser;
session = new FacebookSessionUtil("YOUR_API_KEY", "YOUR_SECRET", loaderInfo);
session.addEventListener(FacebookEvent.CONNECT, onFacebookConnect, false,
0, true);
fbook = session.facebook;
fbook.login(true);
login_btn.addEventListener(MouseEvent.CLICK, connectToFB);
function connectToFB(e:Event):void {
session.validateLogin();
}
function onFacebookConnect(e:FacebookEvent):void{
trace("Is facebook connected: " + fbook.is_connected);
}
------------------------------------------------------------------
where login_btn is a button on my stage.
What is the expected output? What do you see instead?
I expect a simple "Is facebook connectd: true". Instead, the program
crashes. I realize the problem is at session.validateLogin() but don't know
how to solve it.
What version of the product are you using? On what operating system?
Mac OSX 10.5.6
Flash CS3 v9.0
Facebook actionscript library v3.0 (I tried 3.1 but had the same results)
Firefox 3.0.10
Please provide any additional information below.
-I created a flash facebook application as explained before (lets say app.fla).
-When I created a new facebook app at facebook, and used this app key and
secret on the desktop flash app, the program crashed.
-I used the app key and secret from another web app I did before (changing
its type to desktop) on my flash app and it worked!
-I created another flash app and tried to connect it to the same facebook
app using the same key and secret and it crashed once again.
-I duplicated app.fla calling it app2.fla (no changes made) connecting to
the same key and secret and it crashed!
Any idea of what I might be doing wrong?
Online
Original issue reported on code.google.com by [email protected]
on 21 May 2009 at 2:47
error show is:
1119: Access of possibly undefined property instance through a reference with
static type Class.
Original issue reported on code.google.com by [email protected]
on 23 Feb 2008 at 10:03
What steps will reproduce the problem?
var call:FacebookCall = fbook.post(new GetLists());
call.addEventListener(FacebookEvent.COMPLETE, listsResponse);
function listsResponse(e:FacebookEvent):void {
var listsData:GetListsData = e.data as GetListsData;
for(var i:int = 0; i < listsData.friendsListCollection.length; i++){
trace
(listsData.friendsListCollection.getItemAt(i).name);
}
What is the expected output? What do you see instead?
addItemAt function in FacebookArrayCollection throws type mismatch.
I get the expected response if I comment out:
//throw new TypeError('This collection requires ' + _type + ' as the
type.');
am I using this correctly?
What version of the product are you using? On what operating system?
3.1
Original issue reported on code.google.com by [email protected]
on 2 Jun 2009 at 4:45
What steps will reproduce the problem?
1.Open the web cam example
2.Add in the Facebook package "com.facebook"
3.publish
What is the expected output? What do you see instead?
The output is flickering with the Compiler error reporting:
1046: Type was not found or was not a compile-time constant: FacebookEvent.
FDT is able to find the proper classes so there is no errors there, but
when I compile the FLA, it gives that error on each method of the
WebCamUploader.as file at lines 98, 102, 110, 136, 161, 240
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 31 Mar 2009 at 3:52
What steps will reproduce the problem?
1. Make a post call with an AddTag object.
2. View Error thrown by XMLDataParser
3.
What is the expected output? What do you see instead?
Expect to see a parsed response as shown in
http://wiki.developers.facebook.com/index.php/Photos.addTag
What version of the product are you using? On what operating system?
Flash Player 10 debug, Firefox 3.0.8, Win XP
Please provide any additional information below.
There's no parse method either, e.g. parseAddTag but the response XML seems
pretty meaningless for this call anyway.
Original issue reported on code.google.com by [email protected]
on 7 Apr 2009 at 5:32
following is my code, but it's not working
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:fc="http://www.adobe.com/2006/fc" layout="absolute"
creationComplete="init();">
<mx:Script>
<![CDATA[
import com.pbking.facebook.data.users.FacebookUser;
import com.pbking.facebook.delegates.users.GetUserInfoDelegate;
import com.pbking.facebook.delegates.friends.GetFriendsDelegate;
import com.pbking.facebook.data.users.UserFields;
import com.pbking.facebook.FacebookSessionType;
import com.pbking.facebook.Facebook;
import mx.controls.Alert;
[Bindable] public var fBook:Facebook;
[Bindable] public var friendNum:int;
[Bindable] public var showmyuid:String;
private function init():void
{
//create our facebook instance
fBook = new Facebook();
fBook.addEventListener(Event.COMPLETE, onFacebookReady);
//start up a widget instance
var fv:Object = Application.application.parameters;
fBook.startWidgetSession(fv, "key1", "key2");
}
private function onFacebookReady(event:Event):void
{
if(fBook.isConnected)
{
var myuid:int = fBook.user.uid;
showmyuid = myuid.toString();
var cuser:FacebookUser = new FacebookUser(myuid);
friendNum = cuser.friends.length;
}
else
{
Alert.show("(widget) Facebook Connection Failed!");
}
}
]]>
</mx:Script>
<mx:Label x="20" y="20" text="{friendNum.toString()}"/><!--not working-->
<mx:Label x="20" y="40" text="{showmyuid}"/><!--working-->
</mx:Application>
Original issue reported on code.google.com by [email protected]
on 3 Feb 2009 at 5:21
What steps will reproduce the problem?
///
var getAssociatedObjects:GetAssociatedObjects = new
GetAssociatedObjects("usertime",fbUserId);
getAssociatedObjects.addEventListener(FacebookEvent.COMPLETE,
onGetAssociatedObjectsSaveScoreComplete);
fbook.post(getAssociatedObjects);
}
protected function
onGetAssociatedObjectsSaveScoreComplete(event:FacebookEvent):void
{
//Event.error says 'A session key is required for calling this method'
if (event.success)
{
}
}
///
What is the expected output? What do you see instead?
Expecting to get the associated objects.
Got the error 'A session key is required for calling this method' instead.
What version of the product are you using? On what operating system?
Using facebook_library_v3.0.swc
OS- Mac OS X Version 10.5.6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2009 at 4:10
What steps will reproduce the problem?
1. declare an instance of FacebookSessionUtil as property.
private var session : FacebookSessionUtil;
2. create init() method.
public function init() : void
{
}
3. instantiate session object in init() method.
public function init() : void
{
session = FacebookSessionUtil( "my api key", "secret key",
stage.loaderInfo);
}
4. Debug the application.
What is the expected output? What do you see instead?
The execution should pass the instantiation of FacebookSessionUtil object.
But it shows the exception like this:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at the statement of instantiation.
What version of the product are you using? On what operating system?
Flex Builder 3.0.214093
Flex framework 3.2
Window Vista SP1
Mozilla FireFox 3.0.7
Flash Player 10
Please provide any additional information below.
I have following an Adobe's tutorial,
http://www.adobe.com/devnet/facebook/articles/video_facebook_quick_start.html,
but I got this error. They seems have no problem like me.
I already copy and paste the swc to libs folder in projectm, and the code
completion is work well.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2009 at 3:41
I tried to use Javascript Api v 0.4 but seems there is not "callMethod" or
"callMethod$1" in v0.4.
Will this facebook-actionscript-api supports Facebook Javascript Api v.0.4
later?
Original issue reported on code.google.com by [email protected]
on 26 Oct 2008 at 12:50
What steps will reproduce the problem?
1. Put trace statements inside a the if bodies in FacebookUserXMLParser.as
2. Do a GetInfo call requesting just first_name
What is the expected output? What do you see instead?
The code should only get through the if (first_name) statement, but you'll
see that all those if conditions return true, we need to check against
undefined instead.
What version of the product are you using? On what operating system?
Rev 287, Flex 3.3
Please provide any additional information below.
This patch also removes .. searching and use faster, more explicit
userProps.ns::foo so it needs double checking to make sure the parsing is
correct, but I think I got it. Using ".." is dangerous as it could pull a
field from anywhere.
Original issue reported on code.google.com by rob%[email protected]
on 2 Apr 2009 at 9:21
Attachments:
What steps will reproduce the problem?
protected function test():void
{
var setAssociation:SetAssociation = new
SetAssociation("usertime",fbUserId,result,'{"time":"test"}');
setAssociation.addEventListener(FacebookEvent.COMPLETE,
onSetAssociationSaveScoreComplete);
fbook.post(setAssociation);
}
protected function onSetAssociationSaveScoreComplete(event:FacebookEvent):void
{
//here, event.error says 'Unknown method'
if (event.success)
{
}
}
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2009 at 4:37
What steps will reproduce the problem?
1. Create a new Flex Builder project, and drag the .swc into the Lib folder
2. Create a Script block and start to access the Facebook class's login
function (or any other function requiring params) in code.
3. Open a paren for arguments, the code hinting will give a name like arg0
to the argument which has a meaningful name offline_access in the code.
What is the expected output? What do you see instead?
For the facebook class's login function, the argument name is:
Expected: offline_access
Instead: arg0
I see a similar issue with all functions. The .swc is not retaining the
name in the code, but replacing with meaningless names arg0, arg1, arg2
etc.
What version of the product are you using? On what operating system?
facebook_library_v3.0.swc and Flex Builder 3 Professional on Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2009 at 4:07
What steps will reproduce the problem?
1. publish in strict mode
2.
3.
What is the expected output? What do you see instead?
No Error
What version of the product are you using? On what operating system?
Actionscript 3.0 Client for the Facebook Platform API
OS X 10.5.6
Please provide any additional information below.
line: 82 of com.facebook.delegates JSDelegate uses the JSON Class but it hasn't
been imported
I fixed it by importing: com.adobe.serialization.json.JSON;
Original issue reported on code.google.com by [email protected]
on 15 Apr 2009 at 6:31
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.