Facebook Application Development with FBML, FBJS, ASP.NET and C#. Free source code and programming help
March 7, 2008 — vincenthome
Build simple and sophisticated Facebook App with FBML, ASP.NET
Build simple and sophisticated Facebook App with FBML, ASP.NET
This JavaScript client library allows you to make Facebook API calls from any web site and makes it easy to create Ajax Facebook applications. Since the library does not require any server-side code on your server, you can now create a Facebook application that can be hosted on any web site that serves static HTML. An application that uses this client library should be registered as an iframe type. This applies to either iframe Facebook apps that users access through the Facebook web site or apps that users access directly on the app’s own web sites. Almost all Facebook APIs are supported.
Watch the flotsam and jetsam of data that you care about in this mash-up of Facebook, Flickr, Twitter, YouTube, Digg and RSS blogs. Using this simple application, you can configure what you want to watch and the speed in which you see it. Want to view what your Twitter friends are doing? Want to see the photos your friends have posted on Facebook? Or maybe their photos on Flickr, too? Download now and have all of your photos, Tweets, Diggs, Facebook invites & pokes and feeds come to you!
Being a WPF application, Flotzam can be easily restyled. From the enter/exit transitions for new items to the overall visual look and feel of the Flotzam interface, you can do almost anything you want just by tweaking the XAML mark-up.
Blog: http://flotzam.com/blog/
Source Code: http://flotzam.com/download/SourceCode/Flotzamsource.zip
Coding4Fun Developer Kits!
- The C4F Developer Kit is an offering of 20+ components and controls that offer developers a great opportunity to create cool, fun applications with technology that may be otherwise too complex or require countless hours of research and coding. The toolkit hosts controls for things like Bluetooth, Speech, TAPI, Calendar and much, much more. We’ve rolled this out on CodePlex (http://www.codeplex.com/c4fdevkit) to allow the community to share and add to it.
- e.g. Web Services
Managed code wrappers for sites like:
- Yahoo Traffic
- Flickr
- MySpace
- Amazon.com
- Craig’s List
- Delicious
- Digg
- YouTube
- And more
- The C4F Vista P2P Toolkit offers developers the ability to create peer-to-peer applications for WinForms and WPF with no lines of code. Built on top of the WCF, we created a set of controls that developers simply drag ‘n drop on their design surface and simply select from the Smart Tags which pieces to hook up. They have prebuilt controls for Chat, file sharing and streaming audio and video. This too can be found on CodePlex (http://www.codeplex.com/c4fp2p).
- Finally, to bring the above apps & samples altogether, we’ve created the C4F Dashboard which is part of the C4F Developer Kit. This simple WPF application allows developers to launch the samples, source code or documents for a single dashboard.
Authentication
ApplicationKey
Secret
For DesktopApps:
1. call facebook.auth.createToken (which is already implemented by the Facebook Control)
2. pass AuthToken Property to CreateSession below
CreateSession(String AuthToken)
SessionKey
LogOff
Read Operations
GetLoggedInUser
GetEvents
GetEventMembers
GetFriends
GetFriendsAppUsers()() Get all the friends for the logged in user that use the current application
GetFriendsNonAppUsers()() Get all the friends for the logged in user that do not use the current application
GetGroups
GetGroupMembers
GetNotifications
GetPhotoAlbums
GetPhotos
GetTags - for the specified photos
GetUserInfoLow-level calls
DirectFQLQuery(String) Sends a direct FQL query to FB
GetFBML(String) Gets the FBML on a user’s profile
Write Operations
AddTag // to photo
CreateAlbum
SendNotification(markup, tolist, email)
SetFBML(markup, userId)
UploadPhotoPublishAction(String, String, Collection<(Of <PublishImage>)>
(title, body, images) Publishes an action to the logged-in user’s mini-feed, and to the news feeds of the user’s friends who have added the application.
PublishStory(String, String, Collection<(Of <PublishImage>)>(title, body, images) Publishes a story to the logged-in user’s feed.
PublishTemplatizedAction(String, Dictionary<(Of <String, String>)>, String, Dictionary<(Of <String, String>)>, Collection<(Of <PublishImage>)>(titleTemplate, titleData, bodyTemplate, bodyData, images) Publishes a templatized action to the logged-in user’s mini-feed, and to the news feeds of the user’s friends who have added the application.
RefreshImgSrc(String) Tells Facebook to fetche and re-cache the image stored at the given URL for use in non-canvas pages on Facebook.
RefreshRefUrl(String) Tells Facebook to fetches and re-cache the content stored at the given URL for use in a fb:ref FBML tag.
Testing State
IsAppAdded
IsDesktopApplication
SessionExpires
Visit the Facebook Wiki for more detail explantion of the native api. For the .NET class library documentation download here.
1 Stop for all the links I found on facebook.
Facebook Query Language, or FQL, allows you to use a SQL-style interface to more easily query the same data that you can access through other Facebook API methods.
Facebook Markup enables you to build full Facebook Platform applications that deeply integrate into a user’s Facebook experience. You can hook into several Facebook integration points, including the Profile, Profile Actions, Canvas, News Feed and Mini-Feed.
Edit Settings:
- Facebook.NET - By Nikhil Kothari, author of Developing Microsoft ASP.NET Server Controls and Components
![]()
- Visual Studio Starter Kit for Nikhil Kothari’s Facebook.NET - By Steve Trefethen
- Facebook Developer Toolkit - Developed by Clarity Consulting and endorsed heavily by Microsoft; integrates very well with Visual Studio Express.
- Facebook API Client Library for VB.NET - By Jay Lagorio; this is earliest implementation of the API that I had come across.
Also, be sure to check out the ASP.NET page on the Facebook Developer’s wiki… Even though its list of .NET controls isn’t as up-to-date as ours
This Tuesday, Israel-based Dapper will launch the private beta of Facebook AppMaker, a new tool that the company claims will provide people with a dead simple way to create new Facebook applications.
At its core, Dapper allows users to create API?s called ?Dapps? by selecting data from Websites, RSS/XML feeds, Google Gadgets, and more. Each ?Dapp? is an XML which can be manipulated in any number of ways. The company released a tool to create Netvibes modules in late 2006.
Dapper?s Facebook AppMaker lets these Dapps be transformed into full-blown Facebook applications. This includes functionalities such as remote search and retrieval, remote login, and multi-page apps. A Facebook Developer account is a prerequisite to the AppMaker process itself.