Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8733925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:44:48+00:00 2026-06-13T09:44:48+00:00

I am able to connect to facebook using the C# SDK via my console

  • 0

I am able to connect to facebook using the C# SDK via my console application but the Facebook Access Key expires every couple of hours and I have to be logged in to my facebook account for it to work at all.

I am using the following code to enumerate photo albums :

var usertoken = FBImageChecker.Properties.Settings.Default.FBUserAccessKey;
var fbclient = new FacebookClient(usertoken);
dynamic albums = fbclient.Get("me/albums");

Am I correct in thinking I should be using oAuth now? if so, does anyone have an example which could work in my case?

Any help would be much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:44:49+00:00Added an answer on June 13, 2026 at 9:44 am

    finally managed to get this working using oauth, unfortunately facebooks documentation is not exactly clear and although there are many examples online as pointed out by @ramhound a lot of them apply to older authentication models so it was a case of trial and error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I using facebook connect in my application. i am not able to logout of
I am able to connect to an Oracle database using several tools, but am
I am migrating my Facebook canvas application to using the new PHP SDK. However,
I am using social_auth in my django application to use facebook connect. I have
I want to connect to a my facebook application using the facebook java api
I have integrated the Facebook SDK in my app using the official facebook connect
I'm using facebook connect to let users login my application easy. It works well,
So I am using facebooker2 plugin to do facebook connect. I was able to
Here I am using Facebook Login button plugin and javascript sdk I am able
When using Facebook Connect via the javascript library, I get the following javascript error.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.