-
Notifications
You must be signed in to change notification settings - Fork 20
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
service stopped working #2
Comments
are u using windows? |
Mac - Apple Silicon M2 |
try adding the #3 |
const fetchBase = ({ documentId, variables }) => {
return fetch(GRAPHQL_ENDPOINT, {
method: 'POST',
headers: {
'content-type': 'application/x-www-form-urlencoded',
'user-agent': 'Threads API midu client',
'x-ig-app-id': THREADS_APP_ID,
'x-fb-lsd': THREADS_FB_LSD
},
body: `variables=${JSON.stringify(variables)}&doc_id=${documentId}&lsd=${THREADS_FB_LSD}`
})
.then(response => response.json())
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
now the threads api requires a header and an additional parameter to continue working this service
solution to this:
added a header and parameter
lsd
The text was updated successfully, but these errors were encountered: