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: Geographical Analysis for Facebook Posts #1945

Open ashkerina opened 10 years ago

ashkerina commented 10 years ago

One-liner

Which countries of people who often show an interest in your posts?

Full explainer

How does it make the user feel? What is the goal of this insight?

People all over the world use social networks. It is interesting to see where people who wrote a comments on your most popular posts live.

Audience for the insight

Which networks, if any, are excluded from this insight? All except Facebook.

Does this insight serve users with less or more activity? It's for everyone, regardless of activity.

First-run: does this insight show up on a user's first crawl? No

How often this insight runs

If weekly or monthly or yearly, what day of the week or month or year? On Saturdays

Headline and Body example

3

Criteria and logic

Using Graph API we can get posts from one day or week analysing field created_time. After that we get array of all comments of every post and get field from (type User) that contains person who made this comment. From information about user we get value of field location. Now we can count the number of users for every location and draw the bar chart.

Included elements

ashkerina commented 10 years ago

I've started working on this insight and I got the idea to remake the body for this insight. How do you think @ginatrapani using of the map to display the data will be better? Then the insight will look like this: map

ashkerina commented 10 years ago

Such map can be created using Google charts map https://developers.google.com/chart/interactive/docs/gallery/map