QNAP NAS – USB Webcam with Motion Detection

A NAS is not only good for storing data and media, you can also use consumer-webcams per USB. And that´s all you need for video monitoring with motion detection. The tutorial is based on the QNAP TS-212 (the best there is), but it should be the same for all QNAP devices. In fact, it should work on pretty much every linux distribution.

Continue reading

Facebook API – User Events

This a follow-up of my recent article about reading the guest list of a Facebook Event created through Facebook Pages. If you want to get the Events (and the attendees) of a User, it´s a bit more work. You need to authorize the User with the permission “user_events”, and you will still just get the Events the user is attending too with the “/events” connection. I spare you the details of creating an app, this is just the authorization code for the PHP SDK:

$facebook->getLoginUrl(array('scope' => 'user_events'))

Continue reading