Skip to content
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

Open
mickidymick opened this issue Feb 27, 2019 · 6 comments
Assignees
Milestone

Comments

@mickidymick
Copy link

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.

@mickidymick mickidymick added this to the Sprint 1 milestone Feb 27, 2019
@mickidymick mickidymick self-assigned this Feb 27, 2019
@mickidymick
Copy link
Author

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.

@mickidymick
Copy link
Author

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)

@audrism
Copy link
Contributor

audrism commented Feb 28, 2019

Use
tmux

use your own window or session so that you don't confuse each other

tmux a
ctrl-b <number}

@jball1997
Copy link
Contributor

We've written code to grab followers and users they follow and made a "User_Network" collection to put them into.

@mickidymick
Copy link
Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants