คืนตอนนี้ผมอยากเอา twitter ของนักข่าวมารวมกันอ่ะครับ แต่มันก็ทำไม่ได้ตามที่เป็นข่าวกันไปใน blognone เลยอยากถามว่าจะมีวิธีไหนที่ผมจะทำได้บ้างครับ ขอบคุณครับ
RSS ยังมีอยู่ครับ แต่แอบไว้
http://twitter.com/statuses/user_timeline/{USER_ID}.rss
ตัวอย่างเช่นของ @politics_mcot รหัส 57843660 ลิงค์คือ
http://twitter.com/statuses/user_timeline/57843660.rss
การหา user-id ให้ดู source แล้วหา attribute data-user-id เทียบกับ data-screen-name จาก HTML ของ หน้า Twitter นั้นๆ ตัวอย่างเช่น HTML ของ http://www.twitter.com/politics_mcot จะเจอส่วนนึงเป็น
<div class="stream-item-content tweet stream-tweet " data-tweet-id="71839807512379393" data-item-id="71839807512379393" data-screen-name="politics_mcot" data-user-id="57843660">
ขอบคุณมากๆๆครับผม
จริงๆ ใช้ username แทนเลยก็ได้นะครับ ใช้ https://twitter.com/statuses/user_timeline/politics_mcot.rss
RSS ยังมีอยู่ครับ แต่แอบไว้
http://twitter.com/statuses/user_timeline/{USER_ID}.rss
ตัวอย่างเช่นของ @politics_mcot รหัส 57843660 ลิงค์คือ
http://twitter.com/statuses/user_timeline/57843660.rss
การหา user-id ให้ดู source แล้วหา attribute data-user-id เทียบกับ data-screen-name จาก HTML ของ หน้า Twitter นั้นๆ ตัวอย่างเช่น HTML ของ http://www.twitter.com/politics_mcot จะเจอส่วนนึงเป็น
ขอบคุณมากๆๆครับผม
จริงๆ ใช้ username แทนเลยก็ได้นะครับ ใช้ https://twitter.com/statuses/user_timeline/politics_mcot.rss