ThinkUp keeps track of your social media
Unfortunately, Facebook is not so straightforward, but anything regarding Facebook rarely is straightforward. Although ThinkUp will guide you through setting up an app, be aware that the instructions contained in the wizard are a bit old, and Facebook has since changed the way it does things.
Whereas the first two steps (Go to the Facebook Developers Apps page and click the "Create New App" button and Fill in the following settings.) are correct, the Website with Facebook Login mentioned in step 3 is nowhere to be found.
If you have followed ThinkUp's first two instructions, you should now be in your app's Facebook dashboard where you can click Settings from the menu on the left (Figure 8). Fill in the Display Name (e.g., ThinkUp). You can leave Namespace empty, but you have to fill in your domain in the App Domains box. If you access ThinkUp by visiting http://yourserver.com/thinkup/, you would type yourserver.com here.
Include a Contact Email and then click the + Add Platform button below, choosing Website from the pop-up. Fill in the Site URL box in the Website section. Using the example from the previous paragraph, here you would fill in the whole URL (i.e., http://yourserver.com/thinkup/). You can leave Mobile Site URL empty. Now, you can copy and paste Application ID and the App secret from the Facebook Apps page to the areas with the same names in your ThinkUp setup.
Initially, ThinkUp retrieves data from user feeds (click + Add a Facebook User), but, once a user has been set, you can add pages that the user manages and retrieve data from there also.
Google+
Again, configuring a Google+ account is slightly different from what ThinkUp describes, because Google's App dashboard has changed recently. Instead of Services as advised by the ThinkUp instructions, once you have reached what is now called Google Developers Console, click on CREATE PROJECT and then on APIs and auth to get to the panel described by ThinkUp.
Switch on Google+ API and click on Credentials on the left to get the codes for ThinkUp.
If you want to grab geolocation info from the people that interact with you, you should also activate:
- Google Maps Coordinate API
- Google Maps Embed API
- Google Maps Engine API
- Google Maps Geolocation API
- Google Maps JavaScript API v3
- Google+ API
In theory, this works for all social networks, but although geolocating your users is a sexy option on paper, its usefulness is very limited. I guess for privacy reasons, most people do not fill in their geographic location, so there is usually insufficient data to get a representation of your followers' locations.
Because Google+ is a relatively new social network, the ThinkUp developers have not gotten around to integrating G+ pages (which are newer still). For the moment, all you can poll are users.
Data Display
To download data from your social sites, you have to start the ThinkUp crawler, which you can do in one of three ways:
- Start the crawler manually by clicking the circular up and down arrows icon on the right of your toolbar at the top of the screen. ThinkUp will start the crawler for you if it isn't running already.
- You can start the crawler by calling the ThinkUp RSS feed. Click on the down-pointing arrow in the upper left hand corner of the dashboard and select Settings. Choose Account from the menu on the left and scroll down until you see the RSS section. Subscribe to the Secret ThinkUp Update Feed and set the frequency you want to poll the feed. Every time you poll the feed, the crawler launches.
- Finally, you can make the crawler start regularly with a
cron
task. For example, using the following line in yourcrontab
file, the crawler will launch every 30 minutes:
0,30 * * * * cd /path/to/thinkup/crawler/;export THINKUP_PASSWORD=yourpassword; /usr/bin/php crawl.php your@email.com
where /path/to/thinkup/
is wherever you have installed your ThinkUp instance, yourpassword is the password you use to access your ThinkUp account, and your@email.com is the email address you use to access your account. Note that, as with all cron jobs, the code must be all on one line.
Bear in mind that the first time the crawler launches, depending on the volume of data you already have in your social networks, it will take quite a long time before it delivers the goods, maybe even hours. Then, the results might not be what you expect because, again, ThinkUp needs time to harvest enough data to make insights useful, sometimes up to weeks of data.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.