Thursday, October 9, 2014

Activity Streams for Social Media




Today most of the social media data is stored in No SQL databases as Activity Streams. Below given is some of useful activity streams I found over the internet


Discussion
{
"_id" : "4d19fb9ddhd4000005",
"_t" : "Discussion",
"created" : "Tue, 28 Dec 2010 07:00:35 GMT",
"GroupID" : 129242,
"eIndividualID" : "22872F9",
"firstName" : "Danial",
"lastName" : "Micheal",
"discussionStart" : "How is the meeting.",
"comments": [
{
"_id" : "4d19fe329aceye400000a",
"eIndividualID" : "FFE4251",
"created" : "2010-12-28T15:11:46.6760000Z",
"firstName" : "Robin",
"lastName" : "Tally",
"commentText" : "Went alright. Thank you"
},
{
"_id" : "4d19feyey027400000a",
"eIndividualID" : "FFE441",
"created" : "2010-12-28T15:11:46.6760000Z",
"firstName" : "Robin",
"lastName" : "Tally",
"commentText" : "That is good"
},
{
"_id" : "4d1deheh000003",
... } ]
}

Live Chat 
{
"_id": "4cd261dsdfshsd000006",
"senderEIndividualID": "1B0D6E8",
"senderFirstName": "Danial",
"senderLastName": "Tally",
"sendDate": "Thu, 04 Nov 2010 00:31:32 GMT",
"groupID": 119420,
"message": "way faster then "
}
{
"_id": "4cd261a69ac0900c2400000a",
"senderEIndividualID": "B656641",
"senderFirstName": "Steve",
"senderLastName": "Chen",
"sendDate": "Thu, 04 Nov 2010 00:32:54 GMT",
"groupID": 119420,
"message": "ohhhhh"

{
"_id": "4cd2621b9ac0900c2400001f",
"senderEIndividualID": "1B0D6E8",
"senderFirstName": "Danial",
"senderLastName": "Tally",
"sendDate": "Thu, 04 Nov 2010 00:34:51 GMT",
"groupID": 119420,
"message": "I think it made"
}


User Data 
{ "_id": 4252992,
 "events" : {
 "all_ids": [ 116706, 179487, 16389, 827496 ],
 "curr_ids": [ 827496 ],
 },
 "nns" : [
 [ 2816442, 0.2 ],
 [ 1615962, 0.047619047619047616 ],
 ],
 "facebook" : {
 "_id" : 4808871, 
 "name" : "Danial Tally",
 "location" : "Melbourne, Victoria",
 "mutualfriends" : [ 56341525, 262659792 ],
 "allfriends" : [ 56341525, 562526567, 262659792 ],
 },
}