background preloader

Applications sur Facebook.com - Développeurs Facebook

Applications sur Facebook.com - Développeurs 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. 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 In addition you can publish content to the stream using the Feed Dialog. User control Timeline Search Page Related:  FB Developers - go external to view

Mises à jour temps réel - Développeurs Facebook First you'll need to prepare the page that will act as your callback URL. This URL will need to be accessible by Facebook servers, and be able to receive both the POST data that is sent when an update happens, but also accept GET requests in order to verify subscriptions. Handling Verification Requests When you add a new subscription, or modify an existing one, Facebook servers will make a GET request to your callback URL in order to verify the validity of the callback server. A query string will be appended to this URL with the following parameters: hub.mode - The string "subscribe" is passed in this parameterhub.challenge - A random stringhub.verify_token - The verify_token value you specified when you created the subscription When your server receives one of these requests, it needs to: Verify the hub.verify_token matches the one you supplied when creating the subscription. Note that PHP will convert . in the parameter names to _. Receiving the Real Time Updates

Dialogs Overview - Développeurs Facebook 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. Integrating Dialogs

Facebook - application Facebook Connect pour augmenter les visites de son blog Facebook est devenu en l’espace de quelques mois en France le plus gros réseau social en ligne : 7,8 millions de membres (soit près d’un internaute français sur 4). Aujourd’hui je vais vous dévoiler une astuce qui va vous permettre d‘inviter les amis facebook de vos visiteurs à se rendre sur votre blog ! Pour cela, vous devrez créer une application Facebook que vous mettrez sur votre site web et qui communiquera avec l’ensemble du réseau Facebook grâce au système Facebook Connect (en place depuis fin 2008), ça promet ! Au sommaire de ce tuto: 1/ Fonctionnement de l’application Facebook Connect Facebook connect permet de connecter la communauté Facebook à votre site web… Les usages sont multiples : authentification, publication, cooptation,… Ici je vous propose de créer un bouton qui permettra à vos visiteurs d’inviter leurs amis Facebook à se rendre sur votre site. Pas encore sur Facebook ? 2/ Créer une application Facebook Logguez vous à votre compte facebook ici: Rendez vous ensuite ici:

PHP SDK & Graph API base Facebook Connect Tutorial In this article I’m focusing facebook latest php sdk to integrate facebook features in your site. Some days ago facebook released their new graph api system and updated their core structure. They also officially released php sdk so that you can easily call facebook latest graph api and old legacy api from server side by php. Before proceeding first have a look my previous article specially Facebook connect authentication part. In this post I’ll show How to check valid session of user, if user successfully logged inHow to call graph api How to call legacy apiHow to update status dynamically using graph apiHow to use FQL Query So take a look my demo of this tutorial. Follow this post based on PHP SDK 3.0 by Facebook and skip current post. First download the php sdk libary from here . Create a file named fbmain.php. First update $fbconfig array by your application’s id, api key and secret key. $session = $facebook->getSession(); This method returns session information of user. Please change 1.

Apps on Facebook.com - Développeurs 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. Each channel is designed to help engage users and our algorithms help surface the best content for each user. The current channels include: News Feed stories The News Feed is shown immediately to users upon logging into Facebook, making it core to the Facebook experience. Publishing stories When using your app, people can publish content to their friends' news feeds in several ways, by defining Open Graph custom actions, publishing via the Graph API, or using the Share Dialog. To help you decide on the best fit for your app, take a look at the Sharing guide. Share Dialog in Friend Smash Audience control On the App Settings Page users can control the maximum audience each app can share with on their behalf. Adjusting the audience for a specific app Timeline In addition the Timeline also showcases recent game activity for the user.

Créer une page Accueil à votre page Fan Facebook grâce au iFrame Facebook annonça le 11 Mars 2011, la fin de l’application Static FBML. Celle-ci permettait aux administrateurs d’une page fan Facebook de se créer facilement et rapidement une page d’accueil personnalisée. Désormais, la solution de rechange pour arriver au même résultat est de vous créer votre propre application iFrame. Celle-ci comporte plusieurs étapes, mais est quand même assez simple à implanter. À l’aide de vos connaissances en HTML et en CSS ainsi que de ce tutoriel, vous pourrez apprendre comment vous bâtir facilement votre propre « landing page ». La première étape pour la création de votre page d’accueil sera de la construire en HTML et en CSS (au besoin). N’oubliez pas que la largeur maximale des pages Facebook personnalisées est de 520 pixels. Si vous êtes en manque d’inspiration pour votre page, voici un article paru précédemment sur des exemple de pages fan Facebook situé au bas de l’article. Installation de l’application Facebook pour votre page Créer votre application iFrame

Implementing Facebook Real-time updates API (with CURL examples) « Chao Lam I recently implemented Facebook’s real-time updates api. Since I couldn’t find a decent tutorial and ran into a few small roadblocks, I thought I’d share what I learnt. This tutorial basically gets real-time updates of any name changes for users of your FB app. I’m going to use examples with Curl – since that’s like the swiss knife of http programming. Step 1 – get access token Note you can also use your api key (which I accidentally did!) This should return a 40 over character long access token, the initial part looks suspiciously like your app id e.g. Step 2 – Check if access token is working (optional) With access token in hand, you can now query what real-time updates your app is already subscribed to. This result is JSON-encoded. If you somehow goofed up, a JSON-encoded error is returned: Note: api key can’t be used instead of app id here! Step 3 – Submit your update This is the meat of the call. curl should return “null”. Hope this helps! Like this: Like Loading...

Apps on Facebook.com - Développeurs 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. 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 In addition you can publish content to the stream using the Feed Dialog. User control Timeline Search Page

Exemples de Pages Fans Facebook, Trucs et Astuces *** Veuillez noter que depuis le mois de mars 2011, les pages Fan Facebook ne supportent plus l’application Static FBML. Consultez le lien suivant si vous désirez apprendre comment créer une application Facebook pour personnaliser votre page fan. *** Article présenté par… Cet article vous est fièrement présenté par notre entreprise de création de sites web pour PME au Québec Guerilla Web. Les pages fan de Facebook sont extrêmement intéressantes pour les compagnies puisqu’elles leur permettent une grande visibilité sur le web et leur permettent également d’interagir avec leurs clients. La tâche facile : Installer une page fan Facebook. Vous trouverez, dans le billet suivant, 10 trucs et astuces Facebook afin d’ajouter ou d’améliorer des fonctionnalités sur une page fan ainsi qu’une superbe liste inspirante d’exemples de pages fans Facebook. N.B. Si vous avez d’autres trucs ou pages inspirantes à partager avec nous, n’hésitez pas à les écrire dans la section de commentaires! Le code: Le code:

Facebook Graph API — getting access tokens « Ben Biddington As described in the documentation it’s a fairly easy process — and it does not require any signatures. For example, I have an application with an id 116122545078207, and I am using the URL of this blog ( to collect request tokens. [update, 2010-04-29] If ever there was a lesson to read specification and documentation carefully, this is it. As Gene rightly points out, I should have been using user_agent. User-Agent Flow (with a web browser) Following the instructions as specified in section 3.5.1.1., Client Requests Authorization, of the specification, this is a one-step process: Open this in a browser: Note: there are several options for scope. Note: unless you specify offline_access, your tokens will expire as soon as the user signs out of facebook. Note: client_secret is not supplied: [3.5.1. You’ll be redirected to: And you have your access token, you can go ahead and use it: 2.

Related: