aceband Posted July 19, 2009 Share Posted July 19, 2009 Hey, I'm trying to work out in my head how site'es like facebook show users wether other users have updated their status/uploaded more photo's. Does any one know how they do it - the brief outline of how it works? Just somewhere to start em off.... Many Thanks Chris Quote Link to comment https://forums.phpfreaks.com/topic/166525-new-updatesstatus-etc/ Share on other sites More sharing options...
ignace Posted July 19, 2009 Share Posted July 19, 2009 SELECT users_username, tweets_tweet FROM tweets JOIN users ON tweets_users_id = users_id WHERE tweets_users_id IN ( SELECT followers_followee FROM followers WHERE followers_follower = 1 ) ORDER BY tweets_tweet_date DESC; Which shows all statusses of your friends: http://webdevkid.files.wordpress.com/2009/03/twitter-clone.png?w=536&h=376 (don't mind the text) Quote Link to comment https://forums.phpfreaks.com/topic/166525-new-updatesstatus-etc/#findComment-878206 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.