ThinkUpLLC / ThinkUp

ThinkUp gives you insights into your social networking activity on Twitter, Facebook, Instagram, and beyond.
http://thinkup.com
GNU General Public License v3.0
3.3k stars 676 forks source link

New Insight: Who was your first Twitter follower/First Facebook friend? #1868

Open anildash opened 10 years ago

anildash commented 10 years ago

One-liner

Who was the first person that followed you or befriended you on this network?

Full explainer

We want to give you warm fuzzies recollecting whomever was the first to connect to you when you discovered the network.

Audience for the insight

Which networks: Ideally this should work for all of them, contingent on the possibility of retrieving the data, or any limits/constraints on paging through followers/friends. This would exclusively be on first-run, since it'll never change.

How often this insight runs

In the beginning...

Body

There's no baseline here, and we'll keep copy rather simple because it's only ever going to show up once.

Included elements

$my_insight->setPeople should be populated with the user that was the first follower/friend; Other than that this is really just the brief bit of copy.

cdmoyer commented 10 years ago

So, one issue is that we don't currently have this data. In our tu_follows table first_seen is just a timestamp for when the crawler first saw the user.

Looking at the graph explorer, twitter json and docs, neither provides a timestamp when a follow was created. The twitter docs say that normally the most recent follower is listed first, but that's not a promise and subject to eventual consistency issues and may change without warning.

So, I guess the questions are:

adampash commented 10 years ago

I'll answer with what I think, though @anildash and @ginatrapani may want to weigh in as well.

Is this data available somewhere that I'm not seeing?

I don't think so.

Are we OK with doing this just for twitter, and accepting that it might not be 100% accurate?

I would say yes, I think for now it's worth giving it a try. @ginatrapani might have more considered feelings about playing in API gray area, though. Currently, docs state:

At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.