• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Connecting to Twitter API

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone. I am working on a PHP project trying to connect the Twitter (X) API and keep getting error messages. I am new to PHP and can't understand what I'm doing wrong to what I need to do next, basically, I'm stuck. I've looked at forums and through Twitter docs, and anything else I would pull up. I'm trying to get statuses/user_timelines. I just need some help. I am posting images of what I've got and the error messages. Any help or guidance would be appreciated, Thank you!

command_prompt.png
Composer installed
Composer installed
error_code.png
Error messages
Error messages
code_line-_for_error.png
TwitterOAuth
TwitterOAuth
 
Greenhorn
Posts: 4
Python Firefox Browser PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey! just checking, you are not calling more than 100,000 requests per 24 hours, right? cause that could be the issue since twitter API has that limitation hardcoded
 
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic