Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

생코 문서 다운 받아 csv 로 만들기 #1

Open
1 of 3 tasks
hunkim opened this issue Mar 29, 2016 · 8 comments
Open
1 of 3 tasks

생코 문서 다운 받아 csv 로 만들기 #1

hunkim opened this issue Mar 29, 2016 · 8 comments

Comments

@hunkim
Copy link
Contributor

hunkim commented Mar 29, 2016

  • 파일 다운: q = "174499879257223/feed?fields=comments.limit(99){from,like_count,message,message_tags,likes.limit(999){id}},from,full_picture,message,message_tags,updated_time,description,picture,link,story&limit=99";

더 필요한 정보는 query에 넣어주시면 좋을듯.

  • 본문 CSV 파일 - 질문글, 기타로 분류 ( 이 분류 부분은 그냥 비워 두세요)
  • 댓글 CSV 파일 - 최정답, 답, 기타 3개로 분류 (이 분류 부분은 그냥 비워 두세요)
@jihobak
Copy link
Contributor

jihobak commented Mar 30, 2016

@hunkim 실서비스시는 크론주기는 논외로 하고, 1년치 정도 csv로 만들어놓을까요?

@hunkim
Copy link
Contributor Author

hunkim commented Mar 30, 2016

넵. 우선 2015년 한번 다 받아 보면 어떨까요?

@jihobak
Copy link
Contributor

jihobak commented Mar 30, 2016

@hunkim 링크주심 페북문서를 다 보았고, 지금 우리 서비스에 맞는 데이터가 어떤게 있을까 조금 구체적으로 보고있습니다. ( 토큰은, 자기 App을 하나 만들어서 거기서 생기는 토큰을 사용하는것 맞지요? ㅎㅎ)

@hunkim
Copy link
Contributor Author

hunkim commented Mar 30, 2016

넵. 제가 일단 어제 드린 쿼리 정도로 한번 시작해 보심도 좋을듯 합니다.

토큰은, 맞습니다. 아니면 GRAPHICS API에서 주는 토큰 사용하셔도 됩니다. (몇시간동안 유효합니다.)

2016-03-30 21:36 GMT+08:00 piper [email protected]:

@hunkim https://github.com/hunkim 링크주심 페북문서를 다 보았고, 지금 우리 서비스에 맞는 데이터가
어떤게 있을까 조금 구체적으로 보고있습니다. ( 토큰은, 자기 App을 하나 만들어서 거기서 생기는 토큰을 사용하는것 맞지요? ㅎㅎ)


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1 (comment)

@jihobak
Copy link
Contributor

jihobak commented Mar 31, 2016

@hunkim 조금 늦어졌습니다. 필드값의 정보들이 한 번에 나오는 레퍼런스가 없어서 살피는데 시간이 좀 걸렸습니다. 최대한 내일까지 마무리 짓도록 하겠습니다. 기다려주셔서 감사합니다.

@jihobak
Copy link
Contributor

jihobak commented Apr 2, 2016

@hunkim
2015년 24944개의 포스팅그리고 거기에 달린 655354개의 댓글 2개의 csv파일 크롤 완료하였습니다.

@hunkim
Copy link
Contributor Author

hunkim commented Apr 3, 2016

수고 많으셨습니다. 혹시 tag 정보도 받아 올수있으면 추가 하면 좋을것 같습니다. 파일을 gz등으로 올려 주시면 감사하겠습니다. Web 작업 시작합니다.

@hunkim
Copy link
Contributor Author

hunkim commented Apr 4, 2016

지금 있는 것이 'id' 'comments_count' 'message' 'shares' 'created_time' 'status_type'
'from_id' 'from_name' 'type' 'updated_time' 'likes' 인데

이중 caption, desc, full_pic, link, message_tags, story, caption, picture 등이 추가 되면 어떨까요?

image

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

No branches or pull requests

2 participants