Activity streaming with Neo4j

The implementation of activity streaming or news feed is one of the most fundamental features of any social network, which enables a user to follow the activity of other users in real time, making it more engaging.

In this recipe, you will learn how to implement activity streaming or news feed with Neo4j.

Getting ready

The steps required for this recipe are similar to the steps described in the first recipe of this chapter. We are adding one more field, Status, to get updates from friends. Apart from the Cypher query used in the first recipe of this chapter, add the following nodes and relationships to a similar Cypher query:

(st1:Status { text : 'I am sleeping', date:'1234'}),
(st2:Stautus { text : 'Going to ...

Get Neo4j Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.