Facebook Graph API – The missing part

As you all know recent changes in privacy issues made Facebook to change their basic API and added some security concerns. From my best practise, most of the old applications are safe, but you will be in trouble when you create new application. By default you cannot access user’s photos, profile pictures , albums etc. [...]

4 Comments , , , , , , , , , , , , , , , , , , , ,

Facebook Graph API for PHP

Like the old REST API, you don’t need to add 2-3 files for Facebook PHP SDK. The new graph api comes in a single file which is located at http://github.com/facebook/php-sdk/ Copy the facebook.php file in to your webroot and include this file in your php code. require_once(‘facebook.php’); To work fully functional, you need CURL and [...]

3 Comments , , , , , , , , , , , , , , ,

PHP Session problem with cloud server

There is a very strange issue with PHP session when you prefer session to save in files other than database (normal session). The problem is: some times you can access all the saved session values from $_SESSION and sometimes it returns a empty array. If you refresh 10 times, perhaps 4 times you will get [...]

1 Comments , , , , , , , , , , , ,

JBar – Jquery Bar

Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like “You account has been updated” or “Your photo has been successfully deleted” Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter’s settings page) I [...]

0 Comments , , , , , , , , , , , , ,

Onchange, form submit – Error

If you are facing onchange and form submit of select-box (combo box) in html, you are not alone. In sometimes onchange = “document.formname.submit()” won’t submit the form, while it works on other html pages. There is hidden truth of this problem is , there may be some other input having the name “submit”. This cause [...]

0 Comments , , , ,

Firephp

We like firebug , We like PHP , if so, We also begin to  like FirePHP !!! Using firephp , you can debug your php code. Firephp is a firefox plugin which works on firebug console. In our php life, we know we can use echo function to print or debug the value of a [...]

2 Comments , , , , , , , ,

Google Chrome

10 Features of Google Chrome – Youtube Video [youtube:http://in.youtube.com/watch?v=Xlh8gSF_hhE] Yes, a browser with very simple layout. The features i like in this new browser is its full screee view. The only thing in the top area is the location bar. No other menus or buttons or panels are there. It gives a comfort feeling. (All [...]

5 Comments , , , , , , , ,

The biggest blunder I ever made with PHP

I was writing a php code to parse images from a particular url . At the begining I used http://www.google.com as a testing url. When I tested the php code from my local machine (http://localhost) it took time to get data from a remote url (google.com) . So I decided to check this code with [...]

6 Comments , , , , , ,