* src/Mono.Facebook/Util.cs:
keep the serializers in a dictionary so we don't have to
create them with each call
svn path=/trunk/facebook-sharp/; revision=82719
* src/Mono.Facebook/FacebookSession.cs:
add method so that user can be forced to create an infinite
session
* examples/InfiniteSession.cs:
update example to use new api methods
svn path=/trunk/facebook-sharp/; revision=82644
* src/Mono.Facebook/Util.cs:
add new utility methods
* src/Mono.Facebook/User.cs:
make both the notes count and the wall count properties
nullable as - apparently - they aren't always filled in
and also use the new util methods
svn path=/trunk/facebook-sharp/; revision=77935
* src/Mono.Facebook/Location.cs:
* src/Mono.Facebook/User.cs:
fix some problems with deserialization, the generic Nullable
fields didn't behave as expected when no data was available
in the xml
* examples/GetUser.cs: add an example to easily keep testing this
in the future
svn path=/trunk/facebook-sharp/; revision=77448
* src/Mono.Facebook/FacebookSession:
add an extra constructor to restart an infinite session and
return the SessionInfo on GetSession if it's an infinite one
* src/Mono.Facebook/Responses:
add the expires attribute on SessionInfo so we can check for
infinite sessions and add an extra constructor to restore the
infinite session
* examples/Makefile.am:
* examples/InfiniteSession.cs:
a new example to demonstrate the use of infinite sessions
svn path=/trunk/facebook-sharp/; revision=76369
* src/Mono.Facebook/User.cs:
cover user information better
* src/Mono.Facebook/Location.cs:
fix up properties a bit
svn path=/trunk/facebook-sharp/; revision=75542
* src/Mono.Facebook/Error.cs:
new class to respresent error
* src/Mono.Facebook/FacebookException.cs:
represent facebook message better
* src/Mono.Facebook/Util.cs:
use new exception signature, deserialize
the error responses for real
svn path=/trunk/facebook-sharp/; revision=75519
A big code drop to implement the missing methods of the facebook api.
This work is a merge of my work with various pieces of code by George
Talusan (george@convolve.ca) which improved mine. Thank you, George.
* src/Mono.Facebook/Album.cs:
use static method to create parameters
* src/Mono.Facebook/Event.cs:
* src/Mono.Facebook/Friend.cs:
* src/Mono.Facebook/FriendInfo.cs:
* src/Mono.Facebook/Group.cs:
* src/Mono.Facebook/FacebookSession.cs:
* src/Mono.Facebook/Location.cs:
* src/Mono.Facebook/Notification.cs:
* src/Mono.Facebook/PeopleList.cs:
* src/Mono.Facebook/Responses.cs:
* src/Mono.Facebook/User.cs:
Add methods and classes for retrieving information for events,
friends, groups, notifications and users. This way the
following methods are also implemented now:
* src/Makefile.am: add new files to build
* src/Mono.Facebook/FacebookParam.cs:
Add support for handling arrays as value and hide constructor
so that one needs to call FacebookParam.Create to obtain a
parameter
svn path=/trunk/facebook-sharp/; revision=75227
* src/Mono.Facebook/Util.cs: fix the way the response stream is read,
the old implementation sometimes caused the deserialization to fail
svn path=/trunk/facebook-sharp/; revision=75006