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 7064665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:51:43+00:00 2026-05-28T04:51:43+00:00

Good afternoon, I’m using version 5.4.1 of the Facebook C# SDK. I should note

  • 0

Good afternoon,
I’m using version 5.4.1 of the Facebook C# SDK. I should note that I am using the source code directly rather than the DLLs (in case this makes any difference).

So the fact that filter attributes are setup is awesome (thank you dev team :).

My issue is occurring during the initial request (before I get to using verifying the GET response from Facebook)

Here is my initial request:

dynamic result = fb.Post(
                string.Format("/{0}/subscriptions", 
                     FacebookApplication.Current.AppId),
                new Dictionary<string, object>
                    {
                        {"object", "user"},
                        {"fields", "friends"},
                        {
                            "callback_url",
                            "http://localhost:16917/subscription/verify"
                            },
                        {
                            "verify_token",
                            "77FB802F-1147-48F0-BB0F-E4E9BC1FBCFC"
                            }
                    });

I’m finding that an exception is internally being thrown and via Fiddler I’m seeing that the request is never going out. The exception is:

$exception  {"(OAuthException) (#15) This method must be called with an app access_token."} System.Exception {Facebook.FacebookOAuthException}

I initially thought this may be related to Facebook.FacebookClient’s PrepareRequest method:

if (httpMethod == HttpMethod.Get)
{
    // for GET, all parameters goes as querystrings
    input = null;
    queryString.Append(FacebookUtils.ToJsonQueryString(parameters));
}
else
{
    if (parameters.ContainsKey("access_token"))
    {
        queryString.AppendFormat("access_token={0}", parameters["access_token"]);
        parameters.Remove("access_token");
    }
}

but commenting out the line parameters.Remove("access_token"); made no difference.

Any help would be greatly 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-05-28T04:51:44+00:00Added an answer on May 28, 2026 at 4:51 am

    What access_token are you using?

    Are you using a User’s access token, or an App access token?

    If you are using an User’s access token take a look here http://developers.facebook.com/docs/authentication/#app-login on how to get an App access token.

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

Sidebar

Related Questions

Good afternoon, I am using the code below to map a network drive in
Good afternoon, I'm having a problem with a section of code I'm working on
Good afternoon, I have a quick 'top level' question regarding the usage of Facebook
Good afternoon, I'm learning about using RegEx's in Ruby, and have hit a point
Good afternoon all, I am building a function that takes a string as input,
Good afternoon to all, I have this scenario: I am using SQL Server 'BulkInsert'
Good afternoon I have a table that has customer id, name, computer, laptop, blah,
Good afternoon all. I am aware that if we close() an java.io.OutputStream , it
Good afternoon all, I was wondering why is it that android.app.Activity.onTrimMemory couldn't be overridden?
Good Afternoon, I have a Joomla! template that keeps throwing up a pop up

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.