pyfacebook
pyfacebook copied to clipboard
User ID > 2^31-1
I got integrity error as explained in http://forum.developers.facebook.com/viewtopic.php?pid=152522#p152522 and it's caused by a limit of pyfacebook lib or database model.
I moved id from int(11) to varchar(20) and moved from user, created = self.get_or_create(id=int(facebook.uid)) to user, created = self.get_or_create(id=facebook.uid)
now it works and in mysql I get 100000000130682 as a user id (that caused the error, because it was changed to 2147483647 when saving).
it seems a very strange facebook id, I think it's a problem of the library...