I have created a simple blog site with facebook connect to know when a friend visits the blog.
To know that, I have to save each id of the facebook friends and sometimes a people have up to 5000 friends and this mean 5000 INSERT query ( very slow ).
What solution do you recommend me to avoid 5000 INSERT query ?
Maybe do I could save all ids in a mysql text field at once ?