Using The Facebook C# Sdk Without A Canvas Application?
Dec 24, 2010
Im trying to use the sdk without a canvas application, so have followed steps 1-7 in the quickstart guide up to adding the facebookSettings property in the Web.config.
I have added an image to my page and an onclick event that contains the below code. but when I click the button, it just takes me to the home page (CancelUrlPath).
Changing the Authorizer to a CanvasAuthorizer results in FB loading the login screen, but I get an error 404 not found on the call (even after inserting the handlers into the config)..
fbApp = new FacebookApp();
authorizer = new Authorizer(fbApp) {Perms = requiredAppPermissions};
authorizer.ReturnUrlPath = "http://localhost/User/UserRegister.aspx";
authorizer.CancelUrlPath = "http://localhost/";
if (authorizer.Authorize(this.Context))
{
Response.Write("hello");//never gets here
}
In my facebook canvas applikation, i store the access token in session. (I use ASP.NET MVC)
But i want to store the access token in a database along with the facebook user id that i can save different access tokens for different facebook users accessing my application.
So when i query the facebook user id and if it doen't return any access token, i request permissions and get the access token for that user.
How do i access the Facebook UserID for the user accessing my canvas application before doing any authentification?
I am attempting to create a Facebook IFrame Application using the Facebook Developer's Toolkit (language I'm using is VB). No matter what I do, I cannot get past this error message from Facebook.
App may not request permissions that do not apply to all profiles in the selector
I have tried dropping a CanvasIFrameLoginControl with requirelogin=true
i have also tried inheriting Facebook.Web.CanvasIFrameMasterPage then adding Me.RequireLogin = True to the Page_Init event. Both of these do require login. As soon as I add Required permissions, however, I get the API Error Code 100 - an app may not request permissions that do not apply to all profiles in the selector error from facebook.
I'm trying to create a basic application, i created facebook application before but everything has been changed.
I looked every where to create a basic application, but now i'm getting mad because there isn't any working sample. Because of the changed links, facebook api changes, facebook wiki changes i couldn't find a working copy.
write a basic app that gets permission to write user name to screen in facebook developer toolkit asp.net. I looked computerbeacon.net, codeplex, and some other pages but i couldn't succeed.
Edit: I' m adding some screenshots and some codes, it will may be you to find my problem.
I develop small application using javascript, using this I can draw on the canvas.I want to know, How get snapshot of my canvas and send it another one, using javascript or any other server side language.
I am a ASP.NET developer but also have knowledge of PHP.I just want to know if i have to choose facebook application API/framework, which one i should choose ASP.NET or PHP.One of my friend suggest that Facebook itself build in PHP and they officially support PHP API, so use PHP facebook application API/framework.
We have a Facebook application. We are using graph api in ASP.net with C# 2008. We have done the authentication process (Fb Oauth Authentication). We want Facebook app invite functionality. When a user allows our app, he must see invite window. I tried a lot but I didn't find any solution. How can I do this?
I was taking a look at this Facebook Guide Documentation, and I was wandering if it is possible to:create a Facebook application not using PHP but ASP.NET and C#?would I have access information like e-mail, username, city/location, etc?
here i want to check facebook user id and password in my application. if facebook userid and password is correct, go to another page. if not, stay in that page only.
My friend and I want to write a Facebook application. We've narrowed down the list of possible technologies to Ruby on Rails and C# with ASP. Here are the pros and cons we've thought of.
Cons:
ASP - proprietary tools like Visual Studio etc. cost (lots of) money. We both don't know ASP (although we're not bad at C#).
RoR - It's scripting so might be harder to maintain. My friend doesn't know RoR at all (but he's a fairly proficient programmer so will probably be able to pick it up quickly).
Pros:
ASP - Facebook has an official SDK for .NET. RoR - I know RoR. It's open source, free and has fast development time.
What says the community? Is there something we haven't thought of?
I followed all the instructions in the following links yet I am getting the following error
Errors while loading page from application The URL http://zsswfacebooklocal.com:1940/Default.aspx/ did not respond.
Has any one successfully got a simple asp.net application tested on facebook from their localhost on local dev machine. I did update my host file to have local ip 127.0.0.0 point to a temp domain name like zsswfacebooklocal.com
I used the following tutorials for FB asp.net application...
I am trying to create ajax based chat for my application users; I need to get list of All currently online users of the application ..Is there a way to retrieve such a list with facebook aPI? if not how can I implement that?
The callback/action page that is called after friends have been successfully invited is definately being called okay, but my problem lays in retrieving the Facebook IDs of those invited. FB documentation says they should be form-posted into 'ids', so my code behind has this (C# ASP.net):