Fans-only content in facebook with asp.net C# sdk
Hi i’m developing an application in facebook with c# sdk and i want that the user whom liked my page can only use my application. (Like woobox)
Hi i’m developing an application in facebook with c# sdk and i want that the user whom liked my page can only use my application. (Like woobox)
I’ve seen a lot of documentation about integration between ASP .NET web sites and Facebook, but I haven’t found a simple working example, even using Facebook C# SDK.
Facebook requires that I create a appsecret_proof: https://developers.facebook.com/docs/graph-api/securing-requests
I’m using a library that relies on HttpContext.Current. The library is Facebook C# SDK, but my question should apply in other scenarios as well. I’d like to use this library from inside of a parallel thread. However, HttpContext.Current is not available in the parallel thread, so I’m thinking about caching it to a local variable and then setting it in the parallel thread like this:
Update2
This post is getting old but still relevant.. Below is whe way I solved it. I marked the other guys answer because I think it answers the question better. I’m calling a similar method(I’am about to refactor:)) in accountcontroller. The string should be a list… I think you get it.
I’ve been asked to develop a facebook application that allows users of their current system to find each other using a this facebook app. Unfortuantely their requirements are that it has to be build in ASP.NET 3.5 (Easier for their clients distribution purposes).
I am using facebook sdk and facebook connect for integrating fb into my site using asp.net and c#. The user can login using the code successfully. The problem that I face is that whenever a user is logged in thru fb; if the user logs out from the facebook’s site and then tries to login through my site using fb connect, it gives error: The session is invalid because the user logged out.