Category Archives for PHP

Implement Twitter OAuth 1.0A in Laravel using OAuth 1 Lib

If you want to integrate twitter API in your web app, you will find a lot of php libraries which can help you do that. You can see 11 of them in All the libraries uses OAuth. Some of … Continue reading

01. May 2014 by Zakir Hyder
Categories: Laravel, Library, PHP, Web Development | Tags: , , , , , , , , , , | Comments

Add your own github library in Laravel using composer

Adding a random library is quite easy in Laravel. There are two ways you can add an library. Both ways use composer. I am going to use as our example library. It is basically with OAuth namespace and … Continue reading

26. April 2014 by Zakir Hyder
Categories: Composer, Laravel, PHP | Tags: , , , | Comments

Disable Varnish Cache Using HTTP Headers

By using Varnish, we can increase web app’s speed significantly. We use Varnish for Cellbazaar. I implemented Pixel Tracking. For Pixel Tracking to work caching should be off for that url. We could change varnish’s configuration to turn off that … Continue reading

04. September 2013 by Zakir Hyder
Categories: Caching, Mojolicious, Perl, PHP | Tags: , , , , , , , , , , | Comments

Change Facebook User’s Cover Photo Using Graph API

In this post I will show how you can post a image to user’s account and make that photo as cover photo of user. Fist download the latest php sdk from Let’s start. First we have to have permission … Continue reading

02. August 2013 by Zakir Hyder
Categories: Facebook, Graph Api, PHP | Tags: , , , | Comments

How-To Handle expired access tokens for Facebook App

Since Facebook removed offline_access – manageing access tokens has been quite difficult. I have developed a web app for Facebook pages and twitter accounts. While devloping the app i have face the expired access tokens problem. I will discuss … Continue reading

23. January 2013 by Zakir Hyder
Categories: Facebook, Graph Api, PHP | Tags: , , , | Comments

Update Profile Background Image of Twitter Account

From Twitter REST API v1.1, APP can update user’s Profile Background Image. The details of the API is here. First of all download tmhOAuth from github. To uodate background we will need oauth_token, oauth_token_secret. Here is an exampl to get … Continue reading

04. January 2013 by Zakir Hyder
Categories: PHP, Twitter | Tags: , | Comments

Use reCAPTCHA in CakePHP App

Update:According to you have to use following code if you are using CakePHP 2.x.x reCAPTCHA is a free ANTI-BOT service from google. This service is pretty good and very easy to implement. I have implemented this on my recent … Continue reading

02. January 2013 by Zakir Hyder
Categories: CakePHP, Library, PHP | Tags: , , | Comments

← Older posts