Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi i'm a beginner
i want insert post on my fan page with asp.net 3.5
and i just have app id and app secret ,and idon't know how to connect to facebook

i'm using 3.5,i saw they using url for get access token and i don't want redirect my page to another page too
Posted
Updated 8-Aug-13 21:33pm
v3

1 solution

Well,Asp.net but in what language,C# or VB.net? Before posting a question first have a clear idea what you want to do and how it could be done, then came here and share your thinking with us. Btw, these should help you..
How-to-do-a-post-in-facebook-on-my-page-fan-wall-with-c-sharp-and-asp-net[^]
Facebook-c-sharp-sdk-fan-page-post-from-asp-net[^]
Simplest-way-to-post-to-a-facebook-fan-pages-wall-with-c[^]
Facebook-fanpage-wallposting-from-c-sharp-app[^]
 
Share this answer
 
Comments
rocky_em 9-Aug-13 3:52am    
:) i am using c#(dot net frame work 3.5) i want to post html templates that whenever it is created from my asp.net application i want those templates to go to my facebook fan page without authorization and post it


in those links which have yo have provied me they have used they are instantiating class
FacebookClient facebookClient = new FacebookClient(accessToken);

FacebookClient i ahve added the dll FacebookClient.dll
but when i build the solution i am getting this error
Error 1 Could not load file or assembly 'FacebookClient' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
rocky_em 9-Aug-13 6:35am    
how to post html content in facebook fan page

Dictionary<string, string=""> data = new Dictionary<string, string="">();

data.Add("message", "i like ");
FaceBookConnect.Post(ViewState["Code"].ToString(), "me/feed", data);
ridoy 9-Aug-13 11:06am    
FacebookClient doesn't work in your case because you are using .NET 3.5 but the version of that dll is not supporting your dot net version.So use such dll which is for 3.5.And for rest see http://forums.asp.net/t/1613185.aspx/1
rocky_em 10-Aug-13 0:51am    
Is it possible to log in
Facebook from asp.net passing the user credentials and then automatically post message from asp.net webform ?
ridoy 10-Aug-13 1:52am    
You can see..http://www.overpie.com/aspnet/articles/csharp-post-message-to-facebook.cshtml, http://stackoverflow.com/questions/6494865/auto-facebook-oauth-from-asp-net-c-sharp

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900