Kpaper Create Space

일단 트위터 라이브러리는 여기 잘 되어 있다.

https://github.com/sixohsix/twitter


설치는 pip 로 가능

pip install twitter 


timeline 은 잘 되는데, 같은 코드를 돌려도 search 는 잘 안되서 왜이러나 하고 보니, 자료구조가 조금 다르다.

아래와 같이 써주면 된다.


statuses = t.search.tweets(q='#Lovelyz', lang='en', count=10)['statuses'] # 그지같다 -_-;... 디버그 로그 보고 알았다...



별거 아닌게 시간버렸다. ㅜㅜ