How to post to twitter with PHP?

Hi, can someone help me, I want you to be able to send tweets with a PHP script using the twitter API, but all the resources that I have found and tried to do so far are old and no longer work. who has any instructions and / or scripts?

thanks

+4
source share
3 answers

You can use this OAuth library from Abraham Williams. And a good tutorial is available here

+1
source

Twitter turned off its HTTP HTTP authentication interface some time ago. You will need to learn OAUTH for PHP, which is a token authentication protocol. You can find information about this on OAUTH and Twitter, as well as in any number of tutorials.

+1
source

I recently developed a tweet recovery application, and I found it more useful to use the twitter search API via AJAX (JSONP for area requests). Through the twitter search API, you can query the twitter database with the same words that you use on twitter web pages and collect the results that you can view as you like.

However, if you prefer php scripts, I suggest you use twitter libraries.

0
source

Source: https://habr.com/ru/post/1345353/


All Articles