Posts tagged "twitter"
UPDATE: FEB 10 @RepsGunTweets has been changed to @YourRepsOnGuns. Check out www.ThisIsYourRepOnGuns.com for the ongoing project.

Brian Abelson is a data scientist who is graciously donating his time at NewsBeast Labs before he starts a full-time position as a Knight-Mozilla Open News Fellow at the New York Times in February.
For an upcoming project on the gun debate, we’ve been monitoring statements representatives have made on the topic. As President Obama prepared to unveil his proposal for gun control on Wednesday, Michael and I were curious to see the reactions of representatives to the highly publicized announcement and be able to report that in real-time. Given the degree to which breaking news is now reported (and responded to) on social media, we thought it would be useful to build a bot to log officials’ comments on certain issues and present them in real time. Such a tool could be used by news rooms to engage their readers on a continuous basis by aggregating and serving content from members of particular communities or who serve on different committees.
@RepsGunTweets was born.
We were inspired by the work of 2013 Mozilla-Knight OpenNews fellows who recently built a prototpe for an app called “if (this) then news,” a news-oriented take on IFTTT – a site for linking triggers from gmail, twitter, dropbox, and other services to actions on the web. Applying this logic to news coverage, the fellows created the shell for a tool that would monitor live data streams, detect important events, and issue notifications. As Vice President Biden took the mic, we started furiously coding up a bot that would follow the twitter accounts of US Representatives and retweet any comment that included “gun”, “assault weapon”, “firearm”, or other relvant keywords. After a couple hours of missteps and headaches, we eventually got @RepsGunTweets up and running. In the last ten days, the bot has logged 307 tweets; two-thirds of which came in the first three days. We’re still analyzing the conversation but one interesting observation is representatives who are not in favor of gun control tend to link to longer explanations of their position on their website instead of tweet a comment.
Under the hood
At its core a retweet bot is a pretty simple tool: Follow a feed, find what matters, and serve it back up under a single account. The harder part is figuring out how to accurately communicate with Twitter’s API. Using tweepy for python we were able to easily access twitter’s numerous methods. All we needed to provide it with were the the consumer key, consumer secret, access token, and access token secret for an application generated on http://dev.twitter.com/apps. The bot follows CSPAN’s member of congress list and applies a regular expression for the desired keywords and retweets any matches.For even more technical info, check out this Github page


UPDATE: FEB 10 @RepsGunTweets has been changed to @YourRepsOnGuns. Check out www.ThisIsYourRepOnGuns.com for the ongoing project.

Brian Abelson is a data scientist who is graciously donating his time at NewsBeast Labs before he starts a full-time position as a Knight-Mozilla Open News Fellow at the New York Times in February.

For an upcoming project on the gun debate, we’ve been monitoring statements representatives have made on the topic. As President Obama prepared to unveil his proposal for gun control on Wednesday, Michael and I were curious to see the reactions of representatives to the highly publicized announcement and be able to report that in real-time. Given the degree to which breaking news is now reported (and responded to) on social media, we thought it would be useful to build a bot to log officials’ comments on certain issues and present them in real time. Such a tool could be used by news rooms to engage their readers on a continuous basis by aggregating and serving content from members of particular communities or who serve on different committees.

@RepsGunTweets was born.

We were inspired by the work of 2013 Mozilla-Knight OpenNews fellows who recently built a prototpe for an app called “if (this) then news,” a news-oriented take on IFTTT – a site for linking triggers from gmail, twitter, dropbox, and other services to actions on the web. Applying this logic to news coverage, the fellows created the shell for a tool that would monitor live data streams, detect important events, and issue notifications. As Vice President Biden took the mic, we started furiously coding up a bot that would follow the twitter accounts of US Representatives and retweet any comment that included “gun”, “assault weapon”, “firearm”, or other relvant keywords. After a couple hours of missteps and headaches, we eventually got @RepsGunTweets up and running. In the last ten days, the bot has logged 307 tweets; two-thirds of which came in the first three days. We’re still analyzing the conversation but one interesting observation is representatives who are not in favor of gun control tend to link to longer explanations of their position on their website instead of tweet a comment.

Under the hood

At its core a retweet bot is a pretty simple tool: Follow a feed, find what matters, and serve it back up under a single account. The harder part is figuring out how to accurately communicate with Twitter’s API. Using tweepy for python we were able to easily access twitter’s numerous methods. All we needed to provide it with were the the consumer key, consumer secret, access token, and access token secret for an application generated on http://dev.twitter.com/apps. The bot follows CSPAN’s member of congress list and applies a regular expression for the desired keywords and retweets any matches.For even more technical info, check out this Github page

We recently gave a lesson to some editors and reporters about how to use TweetDeck, the awesome Twitter-streaming product. We thought we’d publish our step-by-step walk-through here, both so our reporters could bookmark it for future reference and to show you all what we’re up to. Obviously it’s just the basics detailed below, aimed at first-time TweetDeck users. Maybe we’ll have a more advanced class down the road.
What is TweetDeck, and why might I want to use it?
If you have a Twitter account already, you probably view and compose tweets through twitter.com. Tweetdeck is a separate Twitter product that offers a few advantages to simply using twitter.com. The most obvious advantage is that streams tweets in near-real-time, as opposed to twitter.com, which only tells you when new tweets are available to be viewed (“12 new Tweets”). The second advantage is that you can view multiple columns of tweets, rather than just your own timeline. Other columns can be lists, searches, even other users’ timelines. We’ll get to all that below. 
How to Setup TweetDeck:
First, you’ll have to decide if you want to use the TweetDeck application for the desktop or TweetDeck for the web (i.e. in-browser). Tweetdeck for the web will live in a browser tab. The desktop application will be a separate application. Ries and I both use the desktop application. It’s not a huge deal which you choose— you can switch back and forth very easily.
To setup the desktop app: Visit tweetdeck.com and click the silver download button on the right. 
To use TweetDeck in your browser: visit https://web.tweetdeck.com/
No matter which form (desktop or web browser) of TweetDeck you’ve chosen, the instructions from here on out are the same.
When you visit https://web.tweetdeck.com/ or open the application for the first time, you’ll be asked to sign in with your TweetDeck account. Note that this is different from your Twitter account. So you’ll need to create a TweetDeck account. But don’t panic. You’ll only have to log-in to Tweetdeck once and it will keep you logged in (almost) forever (click the checkbox that says “keep me logged in”). However, just this first time, you’ll need to create an account. You can use the same email and password as you do for your Twitter account.
You’ll now be asked to add your Twitter Account— here is where you log in as you would on twitter.com. Remember, Tweetdeck can handle multiple Twitter accounts, but most of you will just have your personal account. 
OK, it’s setup. Now what?
Now that Tweetdeck is open, you’ll want to make some columns. Your far left column defaults to “Home,” which you’ll probably want to keep there as it is all the accounts you follow. This is the column you see at twitter.com when you’re logged in.
A good second column is “Interactions”— which you may know as the “Connect” screen on Twitter.com, which shows your @replies, etc.. To add a column for your interactions, click the circular button with a plus sign in the middle to add a new column. Then click “interactions” and select your account.  
You may also want to add lists, like say, the Cheat Sheet source list we created. This is a bit trickier, but will become more intuitive. 
How to Add a List as a New Column in Tweetdeck:
1. Go to twitter.com in your browser. Log in to your personal Twitter account.
2. Find The Daily Beast on Twitter (https://twitter.com/thedailybeast). Click the “Lists” link on the left. Scroll down and click on “CheatSheet”. You should find yourself at: https://twitter.com/thedailybeast/cheatsheet. 
3. Click the Subscribe button on the left. 
4. Go back to Tweetdeck. Click the plus button to add a new column. Go to “Lists”. Find and click on “CheatSheet” on the left and then click the “Add column” button. 
Note: You can subscribe to as many lists as you like, and they obviously can be lists made by other users (not just @thedailybeast). You can also create your own lists. 
The third type of column you may want to have is a simple search column. Say you want to see what people are tweeting about Sandy. The best way to do this is to follow the hashtag #Sandy. Again, click the add column button, now go to search and type in #Sandy. Click add column, and you should be all set. 
Organizing Your Columns
The TweetDeck desktop application can display any number of columns from 3 to as many as you can fit on your monitor(s). To re-order your columns, click the “Columns” bar in the top middle of the application. You’ll see the title of your columns displayed in order. You can drag and drop them in to a desired order by clicking and holding on the 6 white squares on the right side of any column box. 

Again, if you need help with any of this let us know.

-Sam

We recently gave a lesson to some editors and reporters about how to use TweetDeck, the awesome Twitter-streaming product. We thought we’d publish our step-by-step walk-through here, both so our reporters could bookmark it for future reference and to show you all what we’re up to. Obviously it’s just the basics detailed below, aimed at first-time TweetDeck users. Maybe we’ll have a more advanced class down the road.

What is TweetDeck, and why might I want to use it?

If you have a Twitter account already, you probably view and compose tweets through twitter.com. Tweetdeck is a separate Twitter product that offers a few advantages to simply using twitter.com. The most obvious advantage is that streams tweets in near-real-time, as opposed to twitter.com, which only tells you when new tweets are available to be viewed (“12 new Tweets”). The second advantage is that you can view multiple columns of tweets, rather than just your own timeline. Other columns can be lists, searches, even other users’ timelines. We’ll get to all that below. 

How to Setup TweetDeck:

First, you’ll have to decide if you want to use the TweetDeck application for the desktop or TweetDeck for the web (i.e. in-browser). Tweetdeck for the web will live in a browser tab. The desktop application will be a separate application. Ries and I both use the desktop application. It’s not a huge deal which you choose— you can switch back and forth very easily.

To setup the desktop app: Visit tweetdeck.com and click the silver download button on the right. 

To use TweetDeck in your browser: visit https://web.tweetdeck.com/

No matter which form (desktop or web browser) of TweetDeck you’ve chosen, the instructions from here on out are the same.

When you visit https://web.tweetdeck.com/ or open the application for the first time, you’ll be asked to sign in with your TweetDeck account. Note that this is different from your Twitter account. So you’ll need to create a TweetDeck account. But don’t panic. You’ll only have to log-in to Tweetdeck once and it will keep you logged in (almost) forever (click the checkbox that says “keep me logged in”). However, just this first time, you’ll need to create an account. You can use the same email and password as you do for your Twitter account.

You’ll now be asked to add your Twitter Account— here is where you log in as you would on twitter.com. Remember, Tweetdeck can handle multiple Twitter accounts, but most of you will just have your personal account. 

OK, it’s setup. Now what?

Now that Tweetdeck is open, you’ll want to make some columns. Your far left column defaults to “Home,” which you’ll probably want to keep there as it is all the accounts you follow. This is the column you see at twitter.com when you’re logged in.

A good second column is “Interactions”— which you may know as the “Connect” screen on Twitter.com, which shows your @replies, etc.. To add a column for your interactions, click the circular button with a plus sign in the middle to add a new column. Then click “interactions” and select your account.  

You may also want to add lists, like say, the Cheat Sheet source list we created. This is a bit trickier, but will become more intuitive. 

How to Add a List as a New Column in Tweetdeck:

1. Go to twitter.com in your browser. Log in to your personal Twitter account.

2. Find The Daily Beast on Twitter (https://twitter.com/thedailybeast). Click the “Lists” link on the left. Scroll down and click on “CheatSheet”. You should find yourself at: https://twitter.com/thedailybeast/cheatsheet

3. Click the Subscribe button on the left. 

4. Go back to Tweetdeck. Click the plus button to add a new column. Go to “Lists”. Find and click on “CheatSheet” on the left and then click the “Add column” button. 

Note: You can subscribe to as many lists as you like, and they obviously can be lists made by other users (not just @thedailybeast). You can also create your own lists. 

The third type of column you may want to have is a simple search column. Say you want to see what people are tweeting about Sandy. The best way to do this is to follow the hashtag #Sandy. Again, click the add column button, now go to search and type in #Sandy. Click add column, and you should be all set. 

Organizing Your Columns

The TweetDeck desktop application can display any number of columns from 3 to as many as you can fit on your monitor(s). To re-order your columns, click the “Columns” bar in the top middle of the application. You’ll see the title of your columns displayed in order. You can drag and drop them in to a desired order by clicking and holding on the 6 white squares on the right side of any column box. 

image

Again, if you need help with any of this let us know.

-Sam

Notes and images from an ever-growing digital newsroom.

Newsweek & The Daily Beast

Contributors:
Brian Ries & Sam Schlinkert

Formerly:
Michael Keller, Andrew Sprouse, Lynn Maharas, & Clarisa Diaz

view archive