Extended Page Access Tokens with CURL

This is a follow up to my article about Access Tokens for Facebook. It is quite easy to generate an Extended Page Access Token with the PHP SDK, but being a big fan of the Facebook JavaScript SDK i try to avoid using the PHP SDK. So this is how you create an Extended Page Access Token with CURL only. Just in case you don´t know about those Tokens: They can be used to post to a Page (as the Page, not a User) or get the Page Insights – but the most important thing is that they don´t have an expiration date! You generate it once, store it in your database and use it forever.

Read more

Raspberry Pi for N00bs – Scripting with Python

Although I prefer other languages, here´s a small tutorial to get you started with Python on your Raspberry Pi. The latest Rasbpian distribution already comes with Python so you don´t even need to install anything else. Actually, i even found 2 versions on my Raspberry, 2.7.3 when i just run “python” in the terminal and 3.2.3 with “python3”. Obviously, we will use python3 here.

Read more

Raspberry Pi for N00bs – WLAN

So you already know how to connect to the LAN, but sometimes the Router is not right next to the Raspberry Pi and you need a wireless connection. Not every WLAN stick is compatible, check the compatibility list before you buy one. I am using a TP-LINK 150Mbps Nano, no additional driver needed and you almost don´t see it when it´s in the Rasbperry. With “ifconfig“, you can see if the WLAN stick is up and running with the correct driver:

Raspberry Pi - WLAN Configuration

Read more

Raspberry Pi For N00bs – Linux Basics

After installing a Linux distribution as explained in my article “Raspberry Pi for n00bs – Installation“, it is time to change some basic settings. This article covers everything you need to know to get your system ready to use. I only run my Raspberries “headless”, without a monitor/TV. Saves an expensive gold-plated HDMI cable and all the cool kids do it 🙂

Read more

Raspberry Pi for N00bs – Installation

A complete PC for only 30 Euros, super-silent without active cooling, the operating system on SD card. That is the Raspberry Pi 🙂

Shopping List

…ok, to get it up and running, you will need a few more Euros, here´s the minimal configuration:Raspberry Pi Logo

  • Raspberry Pi – B/B+ (30-35 Euros)
  • Ethernet cable (1-2 Euros)
  • Power supply with at least 0,7A (better 1A) and Micro USB (5-10 Euros)
  • One of the countless Raspberry cases (5-10 Euros)
  • SD card with at least 4GB, better 8 or 16 (10-20 Euros)

Now we´re already at ~50 Euros, but the Mini-PC only needs 2-3 Watts and practically no space.

A HDMI cable and a USB keyboard are optional, for the first installation and if you don´t just want to administrate the Raspberry Pi with SSH. Check your local supplier for all the items, SD cards are pretty cheap at Amazon. It´s a good idea to check the compatibility list first: http://elinux.org/RPi_SD_cards

Read more