facebook-c#-sdk

could not install package Facebook 6.4.2

末鹿安然 提交于 2020-02-03 05:15:27
问题 I'm trying to install facebook C# sdk from NuGet Console into my windows phone 8 app, .NET framework 4.0 But it's giving an error! Details is give below : PM> Install-Package Facebook Successfully installed 'Facebook 6.4.2'. Successfully uninstalled 'Facebook 6.4.2'. Install failed. Rolling back... Install-Package : Could not install package 'Facebook 6.4.2'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any

Problems when migrating from Facebook SDK v5.4 to alpha v6

蹲街弑〆低调 提交于 2020-01-26 04:35:07
问题 I am using the following code after I login, which worked on 5.4.1, but now it isn't working as expected. FacebookOAuthResult pResult; if (m_pClient.TryParseOAuthCallbackUrl(e.Uri, out pResult)) { if (pResult.IsSuccess) { //handle if success } else { //handle if failed } } I migrated the FacebookOAuthClient to FacebookClient and after migrating everything this does not work. My login code is as follows. I have tried both the old way and the new way, but both are not working. The commented

Obtaining Photos and Albums from Facebook using C#

寵の児 提交于 2020-01-17 04:50:07
问题 I'm trying to parse through and obtain my (my personal account not my app) albums from Facebook using the Facebook C# SDK. My goal is to grab the 10-12 most recent photos on my account. However, I understand I have to grab the albums first. So, I've tried numerous things and ended up with the following url which returns a 400 Bad Request: https://graph.facebook.com/{my_user_id}/albums?access_token={my_access_token} The token was obtained by calling: https://graph.facebook.com/oauth/access

Facebook C# SDK signed request is null in IsAuthorized()

走远了吗. 提交于 2020-01-16 04:00:32
问题 I have researched about the topic mentioned in the title. Solutions say (besides this one) that the "Precondition failed: !string.IsNullOrEmpty(settings.AppId)" exception thrown by FacebookWebContext.IsAuthorized() is caused by not setting the signed request, which can be got from the query string. I'm developing an ASP.NET MVC website in what I would like to implement Facebook Connect authentication. The authentication part works fine, but if I try to check the permissions the user gave the

Facebook C# sdk - Does the FacebookApp.Get(“me”) access to Facebook or just to cookie?

为君一笑 提交于 2020-01-16 01:11:12
问题 I'm using the Facebook c# sdk on a new project and i've a question. In the follow code: var app = new FacebookApp(); app.AppId = "myappid"; app.AppSecret = "theappsecretcode"; if (app.Session != null) { dynamic me = app.Get("me"); } When i'm calling the method Get of FacebookApp, i'm i just accessing to the Cookie saved when i've authenticated with Facebook or i'm connecting to the Facebook and getting the values? I'm asking because i'm saving the values of the user in a session when i

Facebook Connect (C# SDK) - How to See if User is Authenticated to FB, But Don't Force?

不羁的心 提交于 2020-01-13 06:32:46
问题 I'm implementing a single sign on between Facebook Connect and my ASP.NET MVC 3 website, using the Facebook C# SDK. Now, part of the single sign on is: If the user is authenticated to Facebook, but not to my website, see if they are connected in my system and if so, perform a single sign on (using Forms Auth). Now, i don't know how to "see if the user is authenticated". I'm using OAuth for server-side authentication, so i don't want to force them to sign in via the login page, just a silent

Get Photos From Album Facebook C#sdk

血红的双手。 提交于 2020-01-13 05:24:08
问题 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 回答1: 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

How to login / authenticate facebook without browser for desktop application in C#

混江龙づ霸主 提交于 2020-01-12 18:35:11
问题 I can authenticate Facebook for desktop application using web browser control. But I want to log in without the browser. Email and password will be given through windows form.I've searched a lot, but found nothing on this. Many people saying that it's not possible, facebook won't allow for privacy policy. But applications like tweet deck or nimbuzz are doing that. So I think it's possible. I want to use Facebook's Latest C# sdk. 回答1: It is not possible. See this link: https://developers

Does the Facebook API allow for automated changes to old post visibility?

前提是你 提交于 2020-01-12 13:00:31
问题 In other words, is there an API that would allow a Facebook user to change their posts (through a 3rd party app), which are older than a specified date, from being visible to the list "Friends" to another one such as "Only Me" or "Close Friends"? People are increasingly adding their professional and acquaintance contacts as Facebook friends. It makes sense to limit the visibility of your posts — to cater to different audiences. Going forward, that's easy as Facebook provides ample controls:

Post to application wall as application not as user

╄→гoц情女王★ 提交于 2020-01-12 02:22:49
问题 I created an asp.net mvc 3 facebook application using facebook c# sdk. I'm trying to post to my application wall , it works, but the post is created in this format: [my account name] via [my application] So, the post appears in the [my application] + others group. I want the post appears as made by the application, not made by me , so the post appears in the just [my application] group. I was looking for answers for this problem, and everybody says, you have to get the access token for