-
Notifications
You must be signed in to change notification settings - Fork 116
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
Is this package deprecated? #115
Comments
Here's a PR to update guzzle: #116 |
Great, thank you very much! |
I just switched to using guzzle directly: "guzzlehttp/guzzle": "^7.0",
"guzzlehttp/oauth-subscriber": "^0.5", since they aren't abandoned like it appears this package is. Usage: $tumblrStack = GuzzleHttp\HandlerStack::create();
$tumblrMiddleware = new GuzzleHttp\Subscriber\Oauth\Oauth1([
'consumer_key' => '',
'consumer_secret' => '',
'token' => '',
'token_secret' => '',
]);
$tumblrStack->push($tumblrMiddleware);
$tumblrClient = new GuzzleHttp\Client([
'base_uri' => 'https://api.tumblr.com/v2/',
'handler' => $tumblrStack,
'auth' => 'oauth',
]);
$response = $tumblrClient->post('blog/myblog.tumblr.com/post', [
'form_params' => [
'type' => 'link',
// ...
],
]);
echo 'Responded with ' . $response->getStatusCode() . ': ' . $response->getBody() . PHP_EOL; |
Hi there, is anyone going to update the package on Packagist as well? https://packagist.org/packages/tumblr/tumblr#dev-master |
That’s the plan, yes. I’d like to do a bit more testing before this happens. |
It's live! Please report any issues. |
Hello,
I have noticed some recent updates for documentation and testing, but it's been 4 years since the last release v0.4.0. I am trying to use it with guzzle v7 (one year since it was released) but composer specifies to use guzzle 6.
Would there be any chance to update it to work with guzzle 7?
Thanks.
The text was updated successfully, but these errors were encountered: