FaceSharp
FaceSharp is a Facebook starter kit designed to help you get started developing Facebook Apps quickly and has the flexibility to meet your future needs.
Join the .NET Movement in Facebook apps.
NuGet QuickStart Guide
A simple walkthrough on getting your development environment ready for developing with FaceSharp using NuGet
Links:
Live Running Bundled Sample App - ShareThrift
The samples are a LIVE running version of FaceSharp built using our CI server (Team City) and are included with the FaceSharp source code.- Live Facebook Applicaiton
- Standard Samples
- Advanced Samples
- SignificantOthers - FQL
- Close Friends - FQL
- Closer Friends (slower) - Uses 4.0 Parallel Library, FQL
- Closest Friends (slowest ~5mins) - Uses 4.0 Parallel Library , FQL
Why use FaceSharp?
- It is current AND WELL DOCUMENTED, and comes with a handful of examples..
- Multiple check-ins each week
- Supports OAuth 2.0 features in Facebook
- Supports both older authentication and newer Graph API
- Is both discoverable and flexible
- Discoverable Built in support for commonly used objects i.e. var friends = facebookApi.User.GetFriends();
- Flexible Support for dynamics as well i.e. dynamic friends = facebookApi.GraphApi.MakeGraphRequest("me", "friends", new[] {"id", "name", "first_name", "last_name"});
- Supports both Facebook Applications (running in facebook (i.e. apps.facebook.com/<<your app name>>) and public sites using Facebook Authentication
- Built with Hammock for REST toolkit and JSON.NET
- easy to read, tweak and make it your own.
- It is well documented
- Go from nothing to running app in minutes
- It has a very open license
- MIT License is very liberal, take the code and do what you want with it.
- Don't criticize, contribute! (please ;-) )
Recent Blog Posts:
We’ve just released FaceSharp 2.1, this release includes a sample desktop app with Facebook OAuth authorization for desktop apps. The sample app simply allows you to browse your Facebook photos. FaceSharp 2.1 also includes Advanced Examples showcases how to use FaceSharp to make parallel calls into FaceBook
Keeping up with Facebook and how companies are using it can be a challenge. Here’s how I try to keep abreast of everything. If you have some other techniques please let me know. Yahoo Pipes Yahoo pipes lets you massage online data with little programming and is extremely fast. I use it to merge rss [...]
Learn about the Facebook Like Button in our quick presentation : Facebook like button View more presentations from Patrick Gidich.
FQL is not just a back end technology.. one important thing to note is that the entire Facebook API is accessible from Javascript as well as through back end code. To start FQL is like SQL but you can execute it against Facebook data. While you can retrieve Facebook data and process it locally, FQL [...]
With the rollout of the new Facebook Page Design many new features are available to us, this post primarily concerns the new IFrame Tabs for Pages and new data that gets passed into our page from Facebook when a visitor visits the app. FaceSharp has been updated to take advantage of some of these features. [...]
I’ve come across another bug with the Like button that was causing IE6 to hang. When using the XFBLM implementation of the Like button, IE creates a duplicate copy of the page with “fb_xd_fragment” in the query string. This causes the duplicate page to appear in search results, and can lead to inaccurate analytics. I [...]
On September 15, the same day IE9 Beta was released, Facebook officially dropped IE6 support of Facebook Chat, but how long before ALL IE6 support is dropped? There are JavaScript errors galore in IE6, even for basic pieces of functionality like “Liking” a Facebook page. This is a step in the right direction, but when [...]
There is a widespread Facebook “Like” button bug that causes the inline thumbnail image associated with liked pages on wall posts and user streams to appear as a question mark instead of the image defined in the <meta property=”og:image” content=”" /> tag. Users can verify that the og tag data is accurate by entering the [...]
The Facebook Like Button is a very powerful tool. One of the features that is extremely useful is that the Like button essentially turns any regular web page into a virtual fan page in that you can post updates to that page and all the fans will see it in their stream. A challenge in [...]
With the latest release of FaceSharp, all of the core Facebook functionality has bee moved to a separate assembly. The following are direct links into the sample Facebook App running FaceSharp. FQL Example Insights Example Account Example Places Example Dashboard Example Feed Publish Example Notifications Example Likes Example Events Example
There is a Facebook bug that causes “Liked” pages to show the Site Name inconsistently within Wall Posts (sometimes shows Site name, sometimes shows URL). I’ve found a workaround that appears to work consistently, but until Facebook resolves the issue, it may require some additional work for developers to make sure user Wall Posts appear [...]
Includes a number of new features: Ability to save users who authenticate with the Facebook App Uses Facebook Post Authorize and Post Remove Callbacks Integrated Places functionality (Currently Facebook only supports read functionality) Add ability to select a page you admin and post to it’s wall (as the page itself) Uses new Facebook Admin Functionality [...]
The Facebook Developer Application has been completely updated. The new streamlined interface does a much better job of grouping items together and removing features that are no longer in use. The Post Remove Callback now uses the OAuth 2.0 for Canvas (beta) feature, this means that your application can now know when someone has uninstalled [...]
What’s new in this release: Support for older style Facebook Authentication Used for Dashboard.IncrementCount REST API Call when attempting to increment the count for a different user than the one who’s session is currently active. Cookie Signature Validation – Prevents tampering with cookies set by Facebook. Retrieving Like information (useful when you want the user [...]
What’s new: Added support for Facebook’s new OAuth 2.0 functionality. The new signed_request parameter is really nice to work with. General cleanup of code. Added documentation on CodePlex on how to get FaceSharp up and running. Head on over to FaceSharp on Codeplex for the source.
Hosted Facebook Applications provide a tiered permission structure containing the following groups: Application Developers Administrators Moderators Why is it that non-hosted Facebook Pages do not offer a similar tiered structure? The only option available for Pages that need to be reviewed by multiple users before being published is to make all of those users Admins. [...]
An instance of FaceSharp is now up and running at http://www.sharethrift.com This site is automatically built through the TeamCity continuous integration server (free edition). The MSBuild script (included in the project) automatically creates the website. More details to follow.
The first code drop of FaceSharp is now on codplex at http://facesharp.codeplex.com