title: PHP/MYSQL/social network best pracice table structure for followers
body: <p>I would like to allow users to follow other users as with Twitter, Instagram etc. Am thinking that this should include table structure something like following:</p>
  
  <p>Users with userid, password, email, fname, lname</p>
  
  <p>Followers with userid1(INT), followstatus(TINYINT), usererid2 (INT)</p>
  
  <p>New row is created when user1 decides to follow user2.  Later follow status can be turned off if user1 decides to no longer follow user2.  There would be a separate entry if user2 follows user 1</p>
  
  <p>I can tell user1 whom he is following with query to this table.  And tell users how many people are following them with count query. Then conditional on this relationship, print out info on user2s actions (followee) to user1 (follower). </p>
  
  <p>Is that best practice?  Or is there more to it....  Are there other fields, tables required?</p>
  
  <p>Note: users have another table of people, not necessarily users but I'm thinking follower status should be in separate table.  </p>