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

Migration to twitter API V2 #413

Merged
merged 5 commits into from
Feb 9, 2024
Merged

Conversation

hichri-louay
Copy link
Contributor

No description provided.

@hichri-louay hichri-louay merged commit c3f7bb2 into develop Feb 9, 2024
2 checks passed
@hichri-louay hichri-louay deleted the integrate-twitter-api-v2 branch February 9, 2024 15:55
Comment on lines +462 to +470
await rp.get(
'https://graph.facebook.com/' +
oauth.facebook.fbGraphVersion +
'/' +
pageName +
'?access_token=' +
token +
'&fields=fan_count')).data
oauth.facebook.fbGraphVersion +
'/' +
pageName +
'?access_token=' +
token +
'&fields=fan_count'
)

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
Comment on lines +596 to +603
await rp.get(
`https://api.linkedin.com/v2/networkSizes/${organization}?edgeType=CompanyFollowedByMember`,
{
headers: {
Authorization: 'Bearer ' + linkedinProfile.accessToken,
},
}
)

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
Comment on lines +258 to +260
const res = await axios.get(
`https://www.threads.net/@${instagram_username}/post/${idPost}`
)

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
Comment on lines +648 to +650
const res = await axios.get(
`https://www.threads.net/@${instagramUserName}`
)

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
Comment on lines +665 to +667
const res = await axios.get(
`https://www.threads.net/@${instagramUserName}/post/${idPost}`
)

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant