GithubHelp home page GithubHelp logo

Comments (3)

lukasvan3l avatar lukasvan3l commented on June 11, 2024

I'm getting the same error, so probably in this package.
As I'm only doing a single call i'm going to remove this package and doing the call manually via a http request.

from facebook-csharp-sdk.

Erikvl87 avatar Erikvl87 commented on June 11, 2024

I have tried to get an answer to this question as well. By investigating the code, I found that the the calls you make with the FacebookClient are unversioned by default.

The Facebook Graph API - Versioning documentation states the following about unversioned API calls:

What happens if I don't specify a version for an API?
We refer to this as an unversioned call. An unversioned call will default to the oldest available version of the API.

That would mean you are using the oldest available version (if you haven't manually changed the version using the FacebookClient.Version property), thus the one being deprecated, currently version 2.5. That would also mean the unversioned calls you make after April 12, 2018 (today) will automatically be using v2.6, which will be available until July 13, 2018.

So if no breaking changes have been made in the Graph API between versions 2.5 and 2.6, I guess nothing should break. But it looks to me that this package isn't maintained, so it is just a matter of time for it to break.

from facebook-csharp-sdk.

hellodear avatar hellodear commented on June 11, 2024

@Erikvl87 So, how about we set the graph version API in "Version" property of the facebookclient?

Do you have an example on how to set this parameter?

like facebookClient.Version = "v3.4"; Something like this?

from facebook-csharp-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.