background preloader

Facebook

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); js.id = id; js.src = "//connect.facebook.net/es_LA/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> Login Status Check. 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 Facebook.com. 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. On all platforms, requests are sent via the Requests Dialog, which is provided by the Facebook SDK for that platform.

As described in the User Experience section, the dialog can be used to send a request directly to a specified recipient, or to display a multi-friend selector, allowing the sender to select multiple recipients for the request. Feed Dialog. Facebook Posting API. Current community your communities Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help careers 2.0 Stack Overflow Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers.

Facebook Posting API

Facebook Posting API Question 1 Answer active oldest votes. Stream Attachments. Introducing iframe Tabs for Pages. Today we announced major updates to Facebook Pages to help Page admins manage communications, express their brands, and increase engagement.

Introducing iframe Tabs for Pages

As part of these changes, we are also updating the model for building apps on Pages. Using iframes in Page Tabs Many useful applications have been built for Facebook Pages like BandPage for artists to share their music with fans and Shop Now to help Pages sell merchandise on Facebook. As of today, you can build your Page Tab apps using iframes rather than FBML. This means you can now build apps that run across Facebook (including Pages and Canvas applications) using the same simple, standards-based web programming model (HTML, JavaScript, and CSS). 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. 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. 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. If you don’t, you can click here to upgrade your Fan Page. In our previous tutorial on Facebook iFrame tab applications, we looked at how to set custom iFrame tabs on your Facebook Fan Page. In this tutorial, we will look at how you can use the information that Facebook passes to your iFrame application when it is loaded to customize the experience of the person viewing the tab. NOTE: A basic understanding of PHP is required This tutorial will require that you have at least a basic understanding of PHP. There are lots of great resources about PHP on the Internet that can help get you up to speed. 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 iframes.wildfireapp.com. 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 gskinner.com, 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. The Facebook Platform is used by millions of people everyday to connect and share with the people in their lives.

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.