kennylerma / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Should there be an interface for the Graph API value objects? #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All of the classes such as FacebookUser, FacebookGroup etc. implement the 
fromJSON() method, but none of these classes implement a common interface that 
establishes this.

Should there be? I know it wouldn't really have an effect in the general 
running of the library, but it would seem a logical thing to add to the SDK.

Original issue reported on code.google.com by psyked84@gmail.com on 29 Dec 2010 at 11:07

GoogleCodeExporter commented 9 years ago
Hey psyked84, I think you are referring to my branch of the library 
(http://code.google.com/p/facebook-actionscript-api/issues/detail?id=176).
You can add this as an issue there if you like: 
https://github.com/yourpalmark/facebook-actionscript-api/issues.

As for an answer, I have considered an interface/abstract class for the value 
objects.
No reason I haven't added an interface other than haven't gotten around to it.
If you add it to my issues, I'll definitely get around to it.
Thanks.

Original comment by yourpalm...@gmail.com on 29 Dec 2010 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by edwar...@gmail.com on 12 Jan 2011 at 11:05