public static void main(String args[]) throws Exception { Twitter twitter = new Twitter("user_id", "passwd"); Listlist = twitter.getFriendsStatuses(); for (int i = 0; i < list.size(); i++) { User user = list.get(i); twitter.destroyFriendship(String.valueOf(user.getId())); System.out.println("Un-following " + user.getName()); } }
Removing friendships using Twitter API
I just wanted to remove all friendships at once. (As you know, If there is a lot of friends, It could be a rough job... ) There is a Java library for TwitterAPI. So, I could program it. :)
Subscribe to:
Post Comments (Atom)
-
음성 인공지능 분야에서 스타트업이 생각해볼 수 있는 전략은 아마 다음과 같이 3가지 정도가 있을 것이다: 독자적 Vertical 음성 인공지능 Application 구축 기 음성 플랫폼을 활용한 B2B2C 형태의 비지니스 구축 기 음성 플랫폼...
-
The Breadth-First Search (BFS) & MapReduce was roughly introduced from Distributed Computing Seminar . The graph is stored as a sparse m...
-
패밀리 세단으로 새차 구입은 좀 무리일 것 같아서, 중고로 하나 얻어왔습니다. 중고차라고 티 내는건지 :-) 시거잭에 전원이 안들어오더군요. 요즘 참 세상 좋아졌다고 생각드는게, 유튜브에서 시거잭 전원 불량에 대한 단서를 얻었습니다. 바로 퓨즈가 나가...
No comments:
Post a Comment