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

1945-geo-analysis-facebook #2038

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

ashkerina
Copy link
Contributor

Geo Analysis For Facebook Insight

@adampash
Copy link
Contributor

adampash commented Sep 9, 2014

Headline:

  • %username has a friend %farthest_distance miles away
  • %farthest_distance miles is nothing to %farthest_user
  • %username made a connection in %furthest_city

Body:

Assuming we've met some threshold (say, a %farthest_distance > 100 miles?) Randomly begin with:

  • You don't need to be close to stay close.
  • It's nice to reach out to friends who aren't nearby.
  • Out of sight doesn't necessarily mean out of mind.

Then append:

  • People as near as %closest_place and as far as %farthest_place connected with %username this %period.

@ginatrapani
Copy link
Member

I believe @cdmoyer meant to post this here:

"
Latest version of the code on the thinkup.com branch is here: https://github.com/cdmoyer/ThinkUp/tree/ashkerina-geo-analysis

The primary issue now, is that we need to modify the facebook crawler to pull in the actual location graph entity, store that in tu_places, and then create a tu_places_users table. Then we'll actually have the lat/lon for the user locations and be able to calculate distance and create the desired insight.
"

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

Successfully merging this pull request may close these issues.

3 participants