Skip to content

Instantly share code, notes, and snippets.

Varpu Rantala varpurantala

  • Helsinki
View GitHub Profile
@varpurantala
varpurantala / get_followers.py
Last active Jul 9, 2018 — forked from mjcreativeventures/get_followers.py
Collect twitter followers
View get_followers.py
import tweepy
import time
import os
import sys
import json
import argparse
FOLLOWING_DIR = 'following'
MAX_FRIENDS = 200
FRIENDS_OF_FRIENDS_LIMIT = 200
@varpurantala
varpurantala / twecoll
Created Jul 8, 2018 — forked from lucahammer/twecoll
Modified version of twecoll to generate GDF files for use with Gephi. Use "python twecoll.py edgelist -g -m USERNAME"
View twecoll
#!/usr/bin/env python
'''
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
You can’t perform that action at this time.