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't get insights #622

Closed
digitak opened this issue Dec 16, 2017 · 3 comments
Closed

Can't get insights #622

digitak opened this issue Dec 16, 2017 · 3 comments

Comments

@digitak
Copy link

digitak commented Dec 16, 2017

hi
when i run this code :
$insight = $connection->post('insights/engagement/totals' , array('tweet_ids' => $tweet_id , 'engagement_types' => 'impressions' ));

get this error :
object(stdClass)#277 (1) { ["errors"]=> array(1) { [0]=> object(stdClass)#336 (2) { ["message"]=> string(31) "Sorry, that page does not exist" ["code"]=> int(34) } } } Finished

how to get impression of tweet?

tanks.

@abraham abraham added this to the v2.0 milestone Dec 18, 2017
@abraham
Copy link
Owner

abraham commented Dec 18, 2017

That API endpoint lives under the data-api.twitter.com domain which this library doesn't yet support.

@seanmangar
Copy link

seanmangar commented Jan 3, 2018

That's a shame, I have the same problem. I've submitted the PR with a method signature that allows changing the host.

@abraham
Copy link
Owner

abraham commented Jul 3, 2018

Moving to #684

@abraham abraham closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants