kruser / pitchfx-site

A webapp for searching PitchFX data
Apache License 2.0
21 stars 7 forks source link

Add a Twitter Feed Tab for each player #29

Open kruser opened 10 years ago

kruser commented 10 years ago

We'll need to add twitter handles to each player in the players DB. We should figure out how to crowdsource that data. If the twitter handle is there, we should show their feed in a tab.

Let's still show the tab if we don't have a Twitter handle. In that case the body of the tab can ask the user if they know of the twitter feed.

I'm thinking for right now we can just let the user fill out a google docs form for submission. Then one of the developers can periodically mine that info to verify accounts.

albertlyu commented 10 years ago

We could also spider the following Baseball-Reference link on a monthly basis to mine the Twitter handles for each player. It appears that B-R also uses crowdsourcing in order to obtain Twitter handle information. http://www.baseball-reference.com/friv/baseball-player-twitter-accounts.shtml

kruser commented 10 years ago

@albertlyu, I think the BR page is really out of date. I think crowd-sourcing it would be best.

adayNU commented 10 years ago

@kruser Twitter actually has a list of players that are on twitter by team here:

https://discover.twitter.com/sports/major-league-baseball

Not sure how up to date these are, however.

kruser commented 10 years ago

Good find. Definitely worth mining.

kruser commented 10 years ago

MLBAM has added a twitter_id field to their playerInfo API that is used on this site. So we already have the twitter handle available.

"twitter_id": "@ClaytonKersh22",