Okay, I'll make this short and sweet, and all side comments are irrelevant. I'm doing this for my own happies
So using Facebook.com's API you can extract all of a specific user's friends in an array. Well I'm making a array check to see who on that users friend list was removed or deleted them that week using array_dif(); in this method:
1) User allows the application
2) Application catches the user's friends_id's in an array and stores them // this is where i'm having trouble, i'll come back to it
3) User then waits a few days and notices their friend count is no longer 400, it's now 399!
4) User logs into my application, and checks the previously uploaded array against their current array of friends.
Okay now to the part i'm struggling with is, what would you do? Should i store them each uniquely in a database? Because some users have 4,000+ friends and that gets quite strenuous. OR! Should i save them into a txt file unique to that person's user_id.
I kind of like the 2nd option, however it's less ( to my newbish mind ) customizable versus the sql_queries.
Once again, i'd like to reiterate, i don't care that this is again Facebooks terms of service, it's for my own personal gain and just enjoy taking on projects in my spare time that force my brain to work hard.
That's all, hope you excuse the typos and poor grammar. Typed this pretty quickly, any questions - feel free to ask!