Facebook recently updated their Graph API to require an oAuth access token. Here is a quick guide that explains the easiest way to create an access token for your site.
Archive for the ‘Guides’ Category
Easy way to load Facebook news feed through RSS / atom10
Until recently you could import your facebook news feed using a json feed available through the Facebook Graph API without needing to set up an oAuth token. Unfortunately, facebook pulled the rug out from under us all when they started requiring oAuth tokens on the basic graph API. This caused many sites to start receiving the following error: "OAuthException An access token is required to request this resource." Pretty annoying. I was ready to jump through facebook's hoops and create a facebook app dedicated to providing access to the news feed when I realized each page has an rss feed built right in. IMO it's not AS good as the data from the graph API but for most situations it will get the job done.
Testing live sites before switching DNS / pointing the domain name
So, you're ready to launch your site. You've got it all set up on the production server and all you need to do is log in to your domain host and point the domain at your new server and hope everything is working. Hope everything is working? Yes, that seems to be how most developers think. I've encountered several people who use this method for launching a site.
Fear not friends there is a simple solution that will allow you to fully test your site on the live server before switching the DNS to make it live to the rest of the world.
Get latest status from facebook fan pages in PHP (part 2: multiple entries)
This is a very simple way to get the latest posts from a facebook fan page. I previously wrote a VERY simple guide that just returns the latest single post (as this is all people want a lot of the time). If that is what you are looking for read this guide instead. By popular demand I created this additional tutorial that will show you how to display the latest 10 posts and display them with date. Also, this code will filter out things posted on your wall by other people and display ONLY things the owner of the facebook page posted.
Adding auto-fire to a computer mouse (555 timer)
Remember the auto-fire (turbo) button on old video game controllers? This project adds an auto-fire button to a mouse for use with video games or just clicking random things quickly (if thats what you're in to) using no more than a 555 timer, a capacitor and a couple resistors. My goal was to create it as cheaply as possible and without interfering with the normal functionality of the mouse.
Install GCC compiler on the Netgear Stora
Installing GCC on your netgear stora will allow you to compile C / C++ code which is needed to create your own applications / scripts or if you want to install anything that requires your to compile it from source. This setup is dependent on first getting root access to your stora and setting up a repository. From there it is extremely easy to install a compiler on your netgear stora.
Setup Repository on Netgear Stora
This guide will show you how to set up ipkg (Itsy Package Management System) on your netgear stora. By the end of this article you will have full access to this repository which will allow you to install pretty much anything you want on your Netgear stora.
Setup Path / Environment variables on Netgear Stora
To avoid having to type the full path to everything you install you need to set up the path environment variable. This is a very simple tutorial, but will save you a ton of headache once you start installing a lot of things.
Easiest way to get the latest status from facebook fan pages in PHP
So, quite often companies what to show their latest post from their facebook fan page on their website. This should be really simple right. Well it is. However, it seems like most of the world wants to REALLY over complicate it. I searched for this forever and people didn't seem to understand: I don't want facebook connect. I don't need to log in a user. I shouldn't need to load the facebook sdk. I shouldn't need to create a facebook app. There has to be a better way. I thought to myself it's SUPER easy on twitter there has to be something similar for facebook and of course there is.
Enable Remote Desktop RDP on Windows 7 Home Premium
If you've ever tried to use a computer running Windows 7 Home Premium as a Remote Desktop host you know the sad truth. You can't! If you ask Microsoft they'll tell you to get Windows 7 Professional (and pay us extra money for it). However, if you're like me I only needed 1 feature from Windows 7 Professional that wasn't in Home Premium, Remote Desktop.