[f-spot: 2/4] Facebook UIDs are long, not int
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot: 2/4] Facebook UIDs are long, not int
- Date: Wed, 17 Jun 2009 12:08:13 -0400 (EDT)
commit e8986b85c5257a3ef5deb60c5531296de32c5fd0
Author: Jim Ramsay <i am jimramsay com>
Date: Tue Jun 16 19:32:13 2009 -0400
Facebook UIDs are long, not int
This was blowing up when it encountered a very large userID in my friend list.
.../FacebookExport/Mono.Facebook/Responses.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/Mono.Facebook/Responses.cs b/extensions/Exporters/FacebookExport/Mono.Facebook/Responses.cs
index 8699b9f..622e180 100644
--- a/extensions/Exporters/FacebookExport/Mono.Facebook/Responses.cs
+++ b/extensions/Exporters/FacebookExport/Mono.Facebook/Responses.cs
@@ -193,12 +193,12 @@ namespace Mono.Facebook
public class FriendsResponse
{
[XmlElement ("uid")]
- public int[] uids;
+ public long[] uids;
[XmlIgnore ()]
- public int[] UIds
+ public long[] UIds
{
- get { return uids ?? new int[0]; }
+ get { return uids ?? new long[0]; }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]