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 9)
Blog
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, WordPressUsing the Parse JavaScript SDK? Be Careful!
If you use the Parse JavaScript SDK on your website or mobile app, be careful as it’s very easy for someone to modify your database or access sensitivity information. Here’s how to do it, and how to avoid it.
Hacking, JavaScript, Parse, SecurityGeolocation Using HTML5, jQuery and Google Maps (Interactive Version)
Following on from the Static Google Maps example with Geolocation, this tutorial looks at creating a Interactive version using the JavaScript Google Maps API.
Geolocation, HTML5, JavaScript, jQuery, Tutorial