You are here: Home » php coding

How to Get Facebook Page Like Count Without Access Token

SnippetsFacebook had change their API flow to work with apps. Previous PHP code to acquire your Facebook page like count might not work anymore. The API needed access token or auth configuration of an apps for it to GET the like count of your Facebook page. Here's a simple PHP snippet for you to get Facebook page like count without…

Disable Certain Area or Element in Localhost Testing Enviroment

SnippetsSometime when you are working with XAMPP or MAMPP on localhost, you want to exclude or disable certain element or part if you are not working in live site environment. A javacript like tracking code, google analytic code or adsense custom channel code should not be run in localhost testing environment. This may lead to devastating outcome especially with adsense…