Post to Facebook Group Wall PHP API

Since I wrote tutorial Post to Facebook Page Wall, few people have asked me to write a tutorial that will post messages on Group wall as well. If you look at previous examples, you should be pretty clear how everything works, posting message or link works very similar way as before, by issuing HTTP POST request to the GROUP_ID/feed.

Tags: ,

Writing Basic Adsense Plugin for WordPress

Fortunately, there are plenty of WordPress plugins available for almost anything. But sometimes, we aren’t that lucky, few days ago, I needed an Adsense plugin for a WordPress site, and realized there are way too many plugins for Adsense! I tried few, but I felt they are overly complicated for my need, So, I decided to write my own simple Adsense plugin for WordPress 3.

Output Text on Image using PHP imagettfbbox

Easily create an image with text written on it using PHP imagettfbbox. This function requires both the GD library and the FreeType library.

Tags:

Resize images inside element with Mootool

In my another website, some images were larger than DIV element, and it was causing whole layout to distort. It would’ve been little easier with jQuery but since I was using Mootool library, I needed to come up with some sort of resize snippet, so I wrote this small mootool function which will calculate width of DIV element and resize images inside it to fit to its size.

Tags:

Creating Google OAuth API Keys and Developer Key

Google API lets you play with the core of Google system, by building queries, a client can access required data from various Google services, which can be used to build all types of Google based applications. Before sending API queries, a client application needs Google API keys. In this basic tutorial we will learn about obtaining Google API Keys and developer key from Google API console.

Tags: ,