Browsing articles in "PHP"
Sep
1
2011

How to get access token and ID for fan page using graph api (facebook)

facebook like or unlike an object

This is my another blog of my HOW TO series for facebook graph api with php. In facebook graph api, you can get any information by the help of user id, its access token and particular permission… Today lets take a look that how we can play with the facebook api to get information related to a fan page… For fan page, first of all we need manage page permission from user. Then second noticable [...]

Aug
13
2011

How to get number of friend (friend count) in facebook using graph api

facebook like or unlike an object

In my previous blog I have told you that how to get the count for a fanpage. You can check it here. Now today I will tell you how to get the friends of a friend using graph api.. I assume that you know the authentication process and all the basic I assume that you are using the facebook official php sdk. That you can download from GITHUB. So here is the function by which [...]

Aug
9
2011

How to like / unlike an object in facebook using graph api

facebook like or unlike an object

Facebook graph api treat every thing as an object, and every onject in facebook has a unique ID. Using graph api anyone can integrate facebook functionality in his website. What if you need to like or unlike a facebook object using graph api???? Here is a simple tutorial by which you can achieve this. I assume that you are using the facebook official php sdk. That you can download from GITHUB. I also assume that [...]

Jul
23
2011

How to get count of fans of any facebook fan page ( graph api )

facebook like or unlike an object

Facebook fan pages are not a new word and almost everybody on this e-world know what is facebook and what are fanpages. A really good way to promote things. And for developers facebook introduce its graph api, a replacement of its rest api. And almost every techy person has read about this ( I hope ). Well what if anybody needs to get the total number of fans of any page via graph api??? So, [...]

Jun
27
2011
gplus // How to // Misc // PHP

How to add Google plus one / Google plus 1 button to your website

google-plus-one-for-websites-available-now-small

As everybody know that the magic of facebook is on the peak. On every third website you will see atleast one facebook widget. Facebook like, facebook comment etc. That help you share the content to your network. Recently google introduce a GOOGLE PLUS ONE / GOOGLE PLUS 1 button. First of all lets discuss how we can add this button to any website. Adding google plus one button is as easy as writing your name. [...]

Jun
27
2011

How to upload video via Facebook Graph Api

facebook like or unlike an object

As everybody know that facebook old rest api is going to be obsolete. Facebook launches its new api called GRAPH API. And doing changes day by day. Previously there was no method to upload video on facebook via graph api but in april 2011 facebook added the ability to upload video via graph api. The only bad thing of facebook is its documentation. Here is a sample that how you can upload a video via [...]

Feb
18
2011

PHP File Upload Issue

PHP file upload issue

Hello All Today I was working with one of my collegue and come to know a very strange fact about PHP. If you have a form with upload file. For e.g And On Submit you want to get $_FILE, then there will occur a problem If the file is corrupt then it will not get anything… Hope this helps you. Cheers