facebook-c#-sdk

Get Photos From Album Facebook C#sdk

血红的双手。 提交于 2019-12-04 12:46:19
i want to get album photos so far i have been able to get album info I am using facebook c# sdk 5.0 for dot net framework 4 code so far is dynamic friends = app.Get("me/albums"); this provides data and we can get everything mentioned here http://developers.facebook.com/docs/reference/api/album/ but i cannot establish connection mentioned for photos so far i have been able to find this method if there is a good or different approach then please let me know. //Get the album data dynamic albums = app.Get("me/albums"); foreach(dynamic albumInfo in albums.data) { //Get the Pictures inside the album

Creating facebook business page is POSSIBLE but how?

痴心易碎 提交于 2019-12-04 11:52:36
I researched a lot on this subject and on everywhere I've seen, it is stated that creating page with facebook api is not possible. There is one application, Pagemodo , which manages that and I don't know how. So how does it manage to create facebook page automatically? Am I missing something here? 来源: https://stackoverflow.com/questions/16359406/creating-facebook-business-page-is-possible-but-how

What is the current status of Facebook's .Net SDK?

China☆狼群 提交于 2019-12-04 11:08:39
So I need to do some API interaction with Facebook from .NET, i want to know how is this being handled nowadays. The SDK has been recommended a few times, but any sort of information seems to indicate that there is no one doing anything with that project, like the website is dead, and last Facebook and twitter updates are from 2015. I just wanted to see if this is still the way to go, or if I should just ditch it and look somewhere else. Thanks! 来源: https://stackoverflow.com/questions/37036219/what-is-the-current-status-of-facebooks-net-sdk

Architecture for testable iframe application - Best practices with Facebook C# SDK

 ̄綄美尐妖づ 提交于 2019-12-04 11:05:23
I am struggling in seting up a the basic architecture for my ASP.NET MVC Facebook iframe application which is running on Windows Azure . I know that there are some basic samples, how to use the toolkit. But it seems that for big application i need a really good architecture to begin developing with. Also a lot of other developers seem to struggle in setting up this kind of basic architecture for an iframe ASP.NET MVC application, too. So why not gather all available information here and set up something like a starter kit for building complex facebook iframe applications Requirements: Highly

Facebook exchange code for token

我是研究僧i 提交于 2019-12-04 09:04:23
When you successfully exchange a "code" for a token facebook responses with the following (html body) access_token=USER_ACCESS_TOKEN&expires=NUMBER_OF_SECONDS_UNTIL_TOKEN_EXPIRES But what happens when this code for token exchange fails? how does facebook response when the exchange fails? Reference https://developers.facebook.com/docs/howtos/login/server-side-login/ facebook can fail to return an access token to your application whenever one of the parameters in the request is incorrect. during development of my oauth framework i tested setting each required parameter to an incorrect value (ie

how to display latest recent posts in my facebook page to my website

自作多情 提交于 2019-12-04 08:40:32
问题 i have page on Facebook and I want to display latest 5 posts from my feed/wall on a page to my website. How to do this? I found this solution.. it is easy https://developers.facebook.com/docs/reference/plugins/like-box/ and someone guide me to use facebook api and do it myself what is the best way? I use php mysql to build this site 回答1: Here is the PHP code. You need to place this in your template. <ul> <?php //function to retrieve posts from facebook’s server function loadFB($fbID){ $url =

ASP.NET MVC3 and Facebook integration

一世执手 提交于 2019-12-04 08:32:06
问题 I'm just about to start a new ASP.NET project using MVC3, and since some of the requirements are about facebook integration, I need your advice on the following issues: 1- Is it achievable to connect my Membership users to thier Facebook accounts so whenever a user share/add/comment on an event on my website, I can automatically share these actions using his/her Facebook account? 2- also the ability to create Facebook events when the user create one on my site, and if he/she updates the event

Facebook API - Invalid signed request. (Invalid signature.)

蓝咒 提交于 2019-12-04 07:27:17
I'm tryng to use Facebook authentication at http://landlordscores.co.uk/account/login.aspx but after logging in with facebook, the callback page displays "Invalid signed request. (Invalid signature.) ". The app ID and secret are correct and no other information seems to be logged. This happens every time I try to log in with facebook. Edit: To make the call, I'm using pretty much the exact code as the sample. In the markup: <iframe src="<%= this.RegistrationUrl %>" scrolling="auto" frameborder="no" style="border:none" allowTransparency="true" width="100%" height="500"> </iframe> In the code

getLoginStatus returns status unknown when trying to logout from Facebook using Facebook JS SDK

删除回忆录丶 提交于 2019-12-04 06:54:44
I have a localhost website, where I've implemented login via Facebook using Facebook C# SDK. Startup configuration class : public class ExternalLoginConfig { public void ConfigureAuth(IAppBuilder app) { app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie); var facebookAuthenticationOptions = new FacebookAuthenticationOptions() { AppId = ConfigSettings.FacebookAppId, AppSecret = ConfigSettings.FacebookAppSecret, Scope = { "email" }, Provider = new FacebookAuthenticationProvider() { OnAuthenticated = context => { var accessToken = context.AccessToken; var facebookClient = new

Application generated apprequests failing in Silverlight

会有一股神秘感。 提交于 2019-12-04 06:24:23
问题 I'm trying to send an application-generated request between two users without going through the JavaScript UI. FacebookClient client = new FacebookClient(SessionSecret); Dictionary<string, string> parameters = new Dictionary<string, string>(); parameters["message"] = "Test"; parameters["data"] = "test"; client.PostCompleted += new EventHandler<FacebookApiEventArgs>(testCompleted); client.PostAsync(String.Format("{0}/apprequests", ID), parameters); My testCompleted method FacebookApiEventArgs