V
V
Vladimir Grabko2016-09-02 21:32:39
PHP
Vladimir Grabko, 2016-09-02 21:32:39

How to find a video on twitter?

There is a method https://dev.twitter.com/rest/public/search
I want to find a video. How to do it? (what request) There is also filter: native_video but how these are used is not clear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ernest Faizullin, 2016-09-02
@VGrabko

As far as I understand, this is how the link to search for the video is formed:

$api = 'https://api.twitter.com/1.1/search/tweets.json';

$query = 'видео курсы';

$url = $api . '?q=' . rawurlencode($query . ' filter:native_video');

Didn't check, maybe I missed something

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question