-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Count Endpoint #365
Comments
Hi @haleyngonadi, thank you for bringing this to our attention. This and other newer endpoints are not yet supported but I'll work on adding support for these in the coming days. |
Please also note that you can currently call any new endpoint by accessing the e.g. for calling count endpoint: // ...
$querier = \Atymic\Twitter\Facade\Twitter::getQuerier();
$result = $querier
->withOAuth2Client()
->get('tweets/counts/recent', ['query' => 'foo']);
dd($result); As per usual, please ensure API v2 is selected. If API v2 is not set as default in your config file you may use the // ...
$querier = \Atymic\Twitter\Facade\Twitter::forApiV2()
->getQuerier();
// ... |
@reliq WOW. Exactly what I was looking for. It worked perfectly. Thank you so much! :) |
You're welcome @haleyngonadi. Glad that solution worked for you! |
Now also a method @haleyngonadi and @reliq also documented custom queries :) |
WOOT, WOOT! Thank you, @atymic :) I just tried it and it worked as expected! 🎉 |
Hi, this is an awesome package. Thank you very much.
Twitter just introduced a new count endpoint and I'm wondering if it can already be implemented using this package and I'm just missing the way to do it?
Here's more information: https://developer.twitter.com/en/docs/twitter-api/tweets/counts/quick-start/recent-tweet-counts
The text was updated successfully, but these errors were encountered: