Facebook Graph API 3.1 – Requesting Extended Permissions for your Application

Facebook has added the app’s permissions to the user object, which can easily be accessed using Facebook Graph API and any specific permission is missing, you can request for it by redirecting user to the Facebook: $app_id =’App ID here’; $app_secret =’App Secret here’; $app_url =’App URL here’; // Create our Application instance. $facebook =…

What is Facebook Third Party ID and How to Get it using Graph API

To get the Facebook Third Party ID for your app Facebook user, try the following code using Graph API: $fbid = $facebook->api(‘/me?fields=third_party_id&access_token=’.$access_token); echo “THIRD PARTY ID: “.$fbid[‘third_party_id’]; What is Third Party ID? Facebook expressly prohibit Platform developers from passing any data from Facebook to data brokers. But sometimes there are practical reasons that developers will…

Fix W3 Total Cache WordPress Plugin Error ‘Warning: Cannot modify header information – headers already sent’

Using W3 Total Cache , If you get following error: Warning: Cannot modify header information – headers already sent by (output started at /home/account/public_html/wp-content/plugins/w3-total-cache/lib/W3/Referrer.php on line 64 Resolve W3 Total Cache Error You can resolve this by going to the following file in your WordPress blog installation directory: Open wp-config.php Find this ini_set(‘display_errors’, ‘1’); And…