The latest version of the Facebook PHP SDK makes it easy to get a long-lived access_token, giving you access to the user’s profile for up to 60 days, opposed to 1-2 hours with the regular access_token.
- Home
- Blog (Page 14)
Facebook API: Adding a “Likegate” to your Application
Adding a “likegate” to your application is very easy, and only takes a few lines of code to achieve. If you’re not familiar with a “likegage”, it’s basically a page that users’ who haven’t liked your page see, usually asking them to Like the page before seeing the actual content.
Facebook, Facebook Graph API, Fan Page, PHPFacebook API: Banning Users From Your Application
If you’re unlucky, you may have a few users who like to spoil the fun for all the other users using your application on Facebook or even Facebook-connected apps. Luckily, the Graph API lets you easily ban or unban users from using your application.
Facebook, Facebook Graph API, PHPTwitter API: Tracking Tweets using Web Intents
Following on from my earlier tutorial on Tweet Button Callbacks, I’ve expanded on how you can track tweets on your website or application using Web Intents and the Twitter API. Sample code and working example included.
JavaScript, Tracking, Twitter, Twitter APIWordPress 3.6: Fixing wpdb::escape Deprecation Errors
WordPress v3.6 was recently released, and as such, not all themes and plugins have been updated to support the new version. If you see an error regarding wpdb::escape, here’s the cause and fix for the issue.
Bug, Deprecation, WordPress