Action Links are a good way to add an extra call to action (CTA) beside the Link and Share links on Facebook Posts. This tutorial shows you how to add action links in both PHP and JavaScript.
- Home
- Posts tagged "Facebook Graph API" (Page 2)
Posts tagged "Facebook Graph API"
Facebook API: Posting a Comment with Photo
Posting a comment with a photo has been around for a while on Facebook, but I haven’t seen any code examples. To help, I’ve created this short tutorial to show how simple it is to add a comment with a photo.
Facebook, Facebook Graph API, PHPFacebook API: Updating the Page Cover Image Programmatically
If you want to update the cover image for your Facebook Page automatically, you can do so using the Facebook PHP SDK. This tutorial shows you how to upload a photo and then set it as the cover image.
Facebook, Facebook Graph API, Fan Page, PHPFacebook API: Getting a Long-Lived Access Token
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.
Facebook, Facebook Graph API, PHPFacebook 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, PHPFacebook API: Tracking Shares using the JavaScript SDK
Tracking Facebook Shares on your website or application is a useful way of seeing how popular your articles are with your readers. In order to tracking Shares, you must used the Facebook JavaScript SDK.
Facebook, Facebook Graph API, JavaScript, jQuery, Tracking, TutorialFacebook API: Posting a Status Update
The Facebook API lets you post status updates (message, links, photos etc) to your timeline via the API. This is handy if you want to have automatic sharing in your application (assuming users have consented to it) to post uploaded photos, links etc.
Facebook, Facebook Graph API, TutorialFacebook API: App Notifications API for Facebook Canvas Apps
Use the new Facebook Notifications API to send app notifications to your users, instead of using emails or requests. No additional permissions required.
Facebook, Facebook Graph API, NotificationsFacebook API: Generating a Large Square Profile Image
Facebook still restrict the “square” image to 50px by 50px. Here is a clever way of generating a new thumbnail image for the user (on the fly) using the Facebook Graph API and the PHP GD2 library.
Facebook, Facebook Graph API, GD2, Image Manipulation