where to start with Facebook development using asp.net - c#

I am new to Facebook development. Where do you think I should start learning. Do you know any good resources like videos, samples, books, blogs tutorials? I found some but they are quite old, and I don't want to waste my time with an old library if there is a new and more powerful one. Thanks!

Facebook Developer ToolKit
Facebook SDK
Facebook C# SDK

In my opion it is best to implement everything server side with no javascript.
I did not care for any of the C# SDK's so I am "rolling "my own using a few simple classes and such.
The link I have included does point to one of the SDK's however is still a good starting point.
http://www.atlasbay.com/2010/04/21/new-facebook-connect-in-csharp/

Related

Where's the Facebook C# SDK docs and examples?

I added the Facebook C# SDK package to my project but can't find any examples. The url in the help, http://csharpsdk.org, brings up a page about homework help.
Is this package no longer current? If not, what can be used instead of this?
I'm developing a facebook canvas app and need the ability to login from code and call all the relevant functions.
I thought that the new OWIN login in an MVC app would help but I couldn't figure out how to use it to automatically login and be able to make the different graph calls.
Thanks for any help. I've been fighting with this for some time now and can't seem to make progress.
See wiki documentation at github (pages on the right side) https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/wiki

Google Analytics for Desktop Application

I wanted to have analytics for my upcoming alpha release so I can analyse how the program gets used, how often errors occur and so on.
Implementing an own approach of such is quite difficult and time consuming. Today I saw that the developers of the game "Rust" have implemented Google Analytics to track session times, average framerates based on system architecture and so on. So obviously desktop applications can use GA for that.
Now I did some research and I haven't found out anything. I have the C# assembly for Analytics V3 but I don't get how I can use it to report any data. I created a Developers Console project and added the Analytics API to the project.
But now? Analytics has only Website or Mobile App properties, authentication has only website, server or mobile apps but nowhere is something mentioned about desktop apps.
I've seldom seen such well undocumented features. Not even google spits out helpful information about the usage. All tutorials I can find are about ASP.Net websites and hence not helpful.
Does anybody know how this works? Is there any support planned on the part of Google? Is it even allowed (I guess so if Rust's developers use it)?
Thanks for any help!
You can use a packaged lib available on NuGet which does most of the heavy lifting of sending data to google analytics. The lib uses performance protocol as mentioned by #osowskit.
Here is the link to one of them. Its open sourced so you can modify the code to your needs.
https://www.nuget.org/packages/GoogleAnalyticsTracker/
Source - https://github.com/maartenba/GoogleAnalyticsTracker
Rust game is based on Unity and Google has created Google Analytics Plugin for Unity that "...allows game developers to easily implement Google Analytics in their Unity games on all platforms, without having to write separate implementations.". That is probably what Rust developers are using.
The closest support for non-Unity desktop applications you can get from Google is Analytics Measurement Protocol which allows you "to send raw user interaction data directly to Google Analytics servers". That data could be visited screens/views, events, exceptions etc...For the comprehensive protocol description see Developer Guide.

facebook development using C#

I see a lots of different framework for development of app in asp.NET using C#. Please suggest a stable and well document framework for FB development.
Facebook just announced their official Facebook C# SDK. I didn't have a chance of playing with it yet, but that would be the one I'd start with for new apps.
There's also the Facebook Developer Toolkit by Clarity Consulting. I've used it previously, and while it works, I don't like it's object model.

Facebook newsfeed example

I'm trying to access the news stream to pan for certain events
I'm running into a few issues with the facebook developer toolkit.
does anyone have or can point me to an example of getting the news stream?
The Facebook Graph Toolkit is ideal for this job. Check out http://fbgraph.computerbeacon.net/tutorial/section2/ for an example.
Try using the .NET Facebook API Client instead. Follow the Getting Started using trunk instructions, and from there using Stream.Get should be fairly straightforward

How to learn Silverlight fast?

I need to make Silverlight application. I'm going to need server side, which I'm going to make with C#. What could be best way to learn to make simple application with Silverlight + C#? Here are few questions that I need to know... Btw. I have Visual Studio 2008 Pro and MS Expression Studio 3.
1) How can I make objects in silverlight?
2) How can I program actions/user inetractions?
3) How can I connect to server side with silverlight?
As a starting point, have a look at the many resources available on http://silverlight.net, e.g videos, quickstarts and so on.
Also check out the reference documentation in MSDN, it also has a getting started section.
I would try this: Getting Started with Silverlight Dev by Tim Heuer
Here is a great set that walks you through creating an entire app by Scott Guthrie. I think the below link to a set of articles gives a great overview of how to use xaml, binding, layout, etc in Silverlight. A great place to start because it gives you a feeling for what you can do in a somewhat practical application and you should be able to get through them rather quickly.
Silverlight End To End Tutorial
Silverlight book from Manning: "Hello! Silverlight". Hello! Silverlight is a fast-paced, entertaining introduction to Silverlight. Authors Bill Reiss and Dave Campbell guide you hands-on from your first Hello World example through the techniques you'll use to add life to your web applications.
You can download it as PDF at manning.com:
http://manning.com/reiss/
I would go to Brad Abrams Blog and follow his 16 some part tutorial. By the time you are done with that you will have a pretty good grasp on interacting with a server.
Brad Abrams
You will find very easy to understable examples of silverlight at Silverlight.net.

Categories