PHP Tutorials

Get Facebook Access Token Using PHP SDK v5

Get Facebook Access Token Using PHP SDK v5

In my previous tutorial How to Auto Post on Facebook Using PHP, I have explained Auto Post on Facebook using PHP SDK v3.2.3. Now in this post I will show you, how you get Facebook Access Token using PHP SDK v5.0. Facebook access token is required to post on user’s Facebook timeline/wall. Create Facebook APP: To get the Facebook Access token you need to create Facebook App. To create a …

Continue reading

How to Get User Twitter Access Token

How to Get User Twitter Access Token

In my previous posts I have explained about how to create a Twitter App and get Consumer Keys and your Twitter Access Token. Now In this post I will explain how to get User Twitter Access Token. For this tutorial, we need a Twitter App and consumer key that will communicate with twitter using Twitter API. So please read How to Auto Post on Twitter Using PHP – Part 1 …

Continue reading

How to Auto Post on Twitter Using PHP – Part 1

how to get twitter access tokens

If you post many new topics every day then automated post can be used. But manually posted on social networks is better then automated method. In my previous post I have explained how to Auto Post on Facebook. Now in this tutorial I am sharing how to Auto Post on Twitter using PHP. Twitter provides twitter API to communicate programmatically with it. But you can’t use API directly, so you …

Continue reading

How to Auto Post on Facebook Using PHP

How to Auto Post on Facebook Using PHP

Now a days Facebook App is used by every other website. These websites shares posts automatically to the users wall using these app and users access token. So today I will show how to auto post on Facebook using PHP. You have to create a Facebook app and you need a PHP SDK to communicate with the Facebook API. Then you need to get the Access Token, so the app can …

Continue reading

How to Handle Fatal Error in PHP

How to Handle Fatal Error in PHP

Sometimes in development we see fatal errors and warnings.  Fatal error halts the execution of the page. So in this tutorial I will show you how to handle fatal error in PHP. In the below example I forced to display Fatal Error: If the file ‘another-file.php‘ is not exists you will see fatal error and warnings like below. Warning: require(another-file.php) [function.require]: failed to open stream: No such file or directory …

Continue reading

Load Data While Page Scroll with jQuery

Load Data While Page Scroll with jQuery

Now a days data load while page scroll technique is mostly used by most of successful websites like Facebook, Google and Twitter. While you scroll down the page loads more and more data, using Ajax request this is called infinity scroll. So, Today I am going to show you how to load data while page scroll with jQuery and PHP using jQuery’s plugin. There are some jQuery method available to …

Continue reading