Can anyone recommend or create a tutorial on how to make a news feed similar to that of Facebook's only using Django, Tastypie (webservice API framework for Django), Redis (key-value store) and Gearman (task queue)?
Currently I have user model, post model, favorites model and a comment model. I have created Tastypie resources with these models to allow for favoriting, liking, commenting and posting.
I would like to know how to generate feed actions that apply directly to the user. For example:
User1 commented on your post. (2 seconds ago)
User2 liked your post. (3 mins ago)
User2 & User1 favorited your post (5 mins ago)
I really require in depth examples and tutorials on how to build an activity feed using the technologies above. Any help would be appreciated.
You can create an activity stream with the app django-activity-stream.