Quote:
|
Originally Posted by chiefman
if B refuses the request from A, should the record be removed then?
I found Facebook's database schema from the Internet, and there is a table named FriendRelation. property "AreFriends" should identify the relationship between two people and I guess its type is boolean
|
That is quite nice... reverse engineered the flickr post says... not bad, although I wonder how accurate this is then.
I don't think the property "AreFriends" would be boolean, or there is another property somewhere, because it would not cover the bi-directional relationship of friendship requests...
In my example before, the record would not be deleted if the request is denied, but the status column would simply be populated with "denied", so that this rejection is saved. I'm sure Facebook can't just use a boolean "are they friends or not" variable.