background preloader


Facebook Twitter

For Websites. As mentioned, the code above uses the common defaults for the options available when initializing the SDK.

for Websites

You can customize some of these options, if useful. Changing SDK Language In the basic setup snippet, the en_US version of the SDK is initialized, which means that all of the Facebook-generated buttons and plugins used on your site will be in US English. (However, pop-up dialogs generated by Facebook like the Login Dialog will be in the language the person has chosen on Facebook, even if they differ from what you've selected.) You can change this language by changing the js.src value in the snippet.

<script> (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); = id; js.src = "//"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> Login Status Check You can use FB.getLoginStatus to get a person's login state. Disabling XFBML Parsing. Authentication. Dialog Overview. Dialogs A simple, consistent way to add social functionality to your apps Overview Dialogs provide a simple, consistent interface to provide social functionality to people using your apps.

Dialogs do not require any additional permissions because they require someone to directly interact with them. Dialogs can be used by your application in several contexts: in a website or mobile web app, within native iOS and native Android applications, or in a game on Integrating Dialogs. Requests Dialog. Requests are available for games on Canvas, iOS or Android.

Requests Dialog

Requests appear on whatever combination of these platforms are supported by your game. For example, a player using the iOS version of your game could send a request to a player who plays on Canvas, and vice-versa. Hence, your implementation of requests should be platform-agnostic and should provide a consistent user experience, regardless of platform. Feed Dialog. Facebook Posting API. Stream Attachments. Introducing iframe Tabs for Pages. Apps on Facebook.

To drive more traffic to apps on Facebook, we enable various channels that enable new users to discover your app as well as existing users to re-engage with your app.

Apps on Facebook

Each channel is designed to help engage users and our algorithms help surface the best content for each user. The current channels include: Newsfeed stories The News Feed is shown immediately to users upon logging into Facebook, making it core to the Facebook experience. Discovery stories Facebook shares stories with friends when a user starts using a new app or first installs a new game. In addition, Facebook also generates aggregated ‘playing’ stories by default. Developers of app associated with more personal behavior such as dating, weight management or pregnancy, can turn these stories off by disabling the social discovery field in the App Dashboard in the ‘Advanced’ tab under the ‘Settings’ section. Publishing stories. Add an iFrame Application to your Facebook Fan Page. If you’re NOT on the HyperArts Blog, CLICK HERE!

Add an iFrame Application to your Facebook Fan Page

This post was updated on 3/19/11 to reflect change to Tab URL and Secure Tab URL settings. New Tutorial: Add the Reveal Fan-gating Feature to your iFrame Page Tab Facebook recently announced that on March 11, 2011, the Static FBML application will no longer be available to be added to Pages and that no new FBML applications can be created after that date. While Facebook indicates that current Static FBML and FBML tab applications will continue to function for now, it strongly encourages everyone to move from FBML to using iFrame applications.

Over the coming weeks, we will be posting a series of tutorials to help you get started with using iFrame applications on your Fan Page. Customizing your Facebook iFrame Application – Reveal Tab Fan-gating & More! If you’re NOT on the HyperArts Blog, CLICK HERE!

Customizing your Facebook iFrame Application – Reveal Tab Fan-gating & More!

IMPORTANT: You have to upgrade your Fan Page to the new layout before the application below will work on your Fan Page. Many Pages will see a big banner at the top of their Page announcing the upgrade. SDKs & Tools. Social Plugins. 3 Tools to Create New Facebook iFrame Pages. March 10 was a big day for Facebook Page owners.

3 Tools to Create New Facebook iFrame Pages

On that day, Facebook upgraded Pages to a new layout and removed FBML — Facebook Markup Language — as the custom-tab-creation code, replacing it with iframes. The latter action spelled trouble for do-it-yourselfers because it required them to learn how to create Facebook apps, which are required for iframes. The switch to iframes created another problem. Many page owners used a function called “fangating,” which required visitors to “Like” the page before they could take advantage of certain features. For example, the page owner could offer free downloadable ebooks or discount coupons only when the visitor Liked the page.

In response, two popular Facebook app development companies, Wildfire and Involver, have each created a free, easy-to-use interface, which makes iframe app creation simpler. Wildfire To install Wildfire’s app, go to Wildfire offers free iframe creation tool. This page offers two options: Involver. Facebook-actionscript-api - Adobe ActionScript 3 SDK for Facebook Platform. The new Adobe ActionScript 3 SDK for Facebook Platform API, fully supported by Facebook and Adobe, makes it easy to build applications that combine the strengths of the Flash Platform.

facebook-actionscript-api - Adobe ActionScript 3 SDK for Facebook Platform

Developed by, this class library facilitates the development of Flash Platform applications that communicate with Facebook using the OpenGraph API. The Adobe Flash Platform and Facebook Platform provide the ideal solution for building rich, social experiences on the web. Flash is available on more than 98% of Internet-connected PCs, so people can immediately access the applications, content, and video that enable social interactions. Customizing the Text and Images that are “Shared” on Facebook. Did you know you can customize the text and image that Facebook uses when a visitor to your website uses “Share on Facebook”?

Customizing the Text and Images that are “Shared” on Facebook

Facebook Bookmarks or “Share on Facebook” We have all seen the ubiquitous “Share” buttons on blogs and Corporate websites, such as the below. They all tend to work the same, when you click Facebook a new browser window opens up and you will see the usual Facebook “Post to Profile” page (such as the one at the top of this article). What you may or may not know is that the text and image selected by Facebook, and circled in the screenshot above, is completely customizable. JavaScript Test Console.