我的申请很少,表明我国的公共交通问题:比利时。
我在申请中建立了一种制度,允许用户在列车上出现拖延时警告所有人。
我要做的是,允许我相信的用户从我的账户中tw开“User X说,在123456号培训上拖延了3分钟”等东西。
SO basically, i would like to hardcode the twitter username and password in the code and send the tweet, as I have all the credentials. (basically, I would also check that I post only 1 or 2 tweets an hour)
我阅读了前线文件,但找不到这方面的任何信息。
它认为,通过加拿大:
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $twitter_data);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "{$twitter_user}:{$twitter_password}");
http://www.webmaster-source.com/2009/04/05/post-to-twitter-from-a-php-script/“rel=“nofollow” http://www.webmaster-source.com/2009/04/05/post-to-twitter-from-a-php-script/