We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
I'm evaluating this library for potential use in an upcoming project, however I'm having trouble calling the above request.
Is this possible with this library?
I am calling: $tmhOAuth->reconfigure(array('host'=>'ads-api.twitter.com'));
I have instanciated the class with consumer_key,consumer_secret, token, secret and bearer.
The response is always:
{"errors":[{"code":"UNAUTHORIZED_ACCESS","message":"This request is not properly authenticated"}],"request":{"params":{}}}
I tried by adapting your cli examples for user_request and apponly_request:
$code = $tmhOAuth->apponly_request(array( 'url' => $tmhOAuth->url('3/accounts') ));
or
$url = '3/accounts'; $request_url = $tmhOAuth->url($url); $code = $tmhOAuth->user_request(array( 'url' => $request_url ));
Any advice would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
I'm evaluating this library for potential use in an upcoming project, however I'm having trouble calling the above request.
Is this possible with this library?
I am calling:
$tmhOAuth->reconfigure(array('host'=>'ads-api.twitter.com'));
I have instanciated the class with consumer_key,consumer_secret, token, secret and bearer.
The response is always:
{"errors":[{"code":"UNAUTHORIZED_ACCESS","message":"This request is not properly authenticated"}],"request":{"params":{}}}
I tried by adapting your cli examples for user_request and apponly_request:
$code = $tmhOAuth->apponly_request(array(
'url' => $tmhOAuth->url('3/accounts')
));
or
$url = '3/accounts';
$request_url = $tmhOAuth->url($url);
$code = $tmhOAuth->user_request(array(
'url' => $request_url
));
Any advice would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: