How can i get user home timeline if I have his login & passwor开发者_高级运维d?
Using login + password is not recommended, you should let OAuth to give your webservice access.
There are several libraries for PHP + Twitter, which one are you planning to use?
Edit: you can use OAuth with crontab, just log in to twitter with the account in your browser and you'll be able to get the tokens from dev.twitter.com to use in your PHP. Check this thread for more detailed answer: Twitter Oauth login in a cron agent executing PHP file evenry 2 minutes
You could use the public feed of a user timeline from a URL like this and parse it however you want
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=stephenfry
One way i see → write letter to api@twitter.com and use xAuth with user login and password.
精彩评论