-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add the IDs that follow a user and the IDs the user follows to each User in the Mongo DB #10
Comments
After talking with Dr Mokus, Julian, and Nick it was decided to add both the followers and following fields to each user. Starting with the labeled users. I will be adding the code to get these extra fields in the allready existing programs that use the rest and streaming api as well as a stand alone program that will look at a single collection and using the rest api will add the fields to already existing users. |
The first field added is follower_ids (all the users that follow this user) and following_ids (all the users that this user is following) |
Use use your own window or session so that you don't confuse each other tmux a |
We've written code to grab followers and users they follow and made a "User_Network" collection to put them into. |
Decided to only grab the user network "following and followers" from users in Users_Labeled that have less than 5000 people following them. This is a little under 9000 users and will take around 2 weeks. The collection that is created is User_Network and each user will include the user ID, a list of user ID's that consist of users following the specified user, and a list of user ID's that consist of users that the specified user follows. |
Found the appropriate function in the Tweepy API to follow through with the task. Still not sure if we want both the IDs a user follows and the IDs that follow a user of not.
The text was updated successfully, but these errors were encountered: