Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphRequest /me fails on v17+ #2449

Open
5 tasks done
nvprokofiev opened this issue Jun 26, 2024 · 0 comments
Open
5 tasks done

GraphRequest /me fails on v17+ #2449

nvprokofiev opened this issue Jun 26, 2024 · 0 comments

Comments

@nvprokofiev
Copy link

nvprokofiev commented Jun 26, 2024

Checklist before submitting a bug report

Xcode version

15.4

Facebook iOS SDK version

17.0.2

Dependency Manager

SPM

SDK Framework

Core

Goals

We want to update to SDK v17.0.2 to align with the Privacy Manifest requirements but a graph request we are making fails with the error Could not make graph API request Code=-1

GraphRequest(graphPath: "/me",
             parameters: ["fields": "id, name"],
             tokenString: token?.stringValue,
             version: SharedConstants.FB_GRAPH_API_VERSION,
             httpMethod: .get)
<FBSDKGraphRequestConnection: 0x301db73a0, 1 request(s): (
<FBSDKGraphRequest: 0x301534460, graphPath: /me, HTTPMethod: GET, parameters: {
    "access_token" = XXX;
    fields = "id, name";
    format = json;
    "include_headers" = false;
    sdk = ios;
}>
)>

There are no code changes, only updated the SDK version, everything is fine on v16.3.1.

The same request succeeds when testing on the dev portal.

Expected results

The request should succeed as on v16.3.1

Actual results

The request fails with Could not make graph API request Code=-1

Steps to reproduce

No response

Code samples & details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant