Facebook newsfeed example - c#

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

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

How to get facebook access token in winforms

I'm new to the facebook c# sdk, and I'm trying to create a program that will post to a page's timeline.
I have been trying to follow this, however I'm having difficulty understanding the second code snippet since it makes use of the Request class, in asp.net. I can't find a way to translate this into WinForms.
(I did have to change the FacebookAPI to FacebookClient)
How can I achieve the same effect, of redirecting to facebook and receive the code to get an access token?
There is a specific Winforms sample for the facebook SDK available here: Facebook Sample using Facebook C# SDK with WinForms
This sample demonstrates the use of Facebook C# SDK v6 as a WinForms
sample.
Note: This sample does not necessarily demonstrate the best use but
rather features of using Facebook C# SDK on a desktop app. It is
always recommended to use asynchronous (XAsync or XTaskAsync) methods
rather then the synchronous methods. XTaskAsync methods are preferred
over XAsync methods.
If you're just posting to your own page's timeline, the easiest way is probably a PowerShell script using the New-FBPost cmdlet: http://facebookpsmodule.codeplex.com

where to start with Facebook development using asp.net

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/

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.

Implementing Google maps in mobile

How to show google maps in mobile application using .net2.0
A very simple approach is to use the Google Maps Static API, a HttpWebRequest and Image.Save to download an image of the map, e.g. "http://maps.google.com/staticmap?zoom=14&size=512x512&mapt
ype=mobile&markers=40.714728,-73.998672&key=YOUR-GOOGLE-MAPS-API-KEY" which can be shown in a PictureBox.
Regards,
tamberg
Late to the party, but you might find this helpful as well:
http://www.koushikdutta.com/2008/07/virtual-earth-and-google-maps-tiled-map.html
Should give you a bit more flexibility (zooming, moving around, etc... ) than the static maps API.
Do the maps absolutly have to be from Google? I was writing an application that made use of Live Maps to display maps on a Compact Framework application. When I wrote the app I used the 3.5 framework though, so I am not sure whether or not this will fit your needs.
http://www.codeproject.com/KB/mobile/WiMoWifiPosition.aspx
There is various controls available to integrate Google Maps into an ASP.net website. Since the Sockets and Net libraries are available on Windows Mobile, you could possibly integrate using the Google Maps API, however will have to build your own controls to display the maps. The API can be found here.

Categories