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

Can you please help me understand this? " that you previously got" #4

Closed
jack-fdrv opened this issue Dec 28, 2019 · 1 comment
Closed
Labels
help wanted Extra attention is needed invalid This doesn't seem right

Comments

@jack-fdrv
Copy link

jack-fdrv commented Dec 28, 2019

open myapp.php and type the clientId, clientSecret and redirectUri that you previously got from the API Center. Please, read carefully the comments in the example.

What mean " that you previously got", got how? I should first get something to use this library?

Also, seems it require, accessToken, refreshToken, expiresIn.
How I can get it?

In addition to this, a full example is available in the example directory. This includes example.php that gets an access token and requests the data.

So this script should already get the tokens, but how?

@mnovozhylov
Copy link
Contributor

@jack-fdrv , please, follow the official Upwork API documentation at https://developers.upwork.com/?lang=php#getting-started

Also, note that OAuth2 authentication is NOT shared for public usage. So, if you don't participate as a beta tester, you need to use the library for OAuth1, which can be found here https://github.com/upwork/php-upwork

@mnovozhylov mnovozhylov added help wanted Extra attention is needed invalid This doesn't seem right labels Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants