English 中文(简体)
tw泥开发商如何保持其微粒钥匙的私人性质? [复制]
原标题:How twitter app developers keep their xAuth key private? [duplicate]

我的申请很少,表明我国的公共交通问题:比利时。

我在申请中建立了一种制度,允许用户在列车上出现拖延时警告所有人。

我要做的是,允许我相信的用户从我的账户中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/

问题回答

暂无回答




相关问题
Understanding Twitter API s "Cursor" parameter

I don t really get how to use the Curesor parameter in Twitter s API, for an exmaple - here. Am I supposed to make a new API call for each 100 followers? I d love it if someone could provide a PHP ...

Cannot get Twitter-OAuth-iPhone to work

demo works as expected, no problems. But now I m trying to integrate it into my project. I use no xib-s, code only: OAuthTwitterDemoViewController *vc = [[OAuthTwitterDemoViewController alloc] init]; ...

Creating a constantly updating feed like Twitter

I d like to have something in my app that is just like Twitter but not Twitter. Basically it will be a place people can submit messages and do not need an account. They only way they can submit is ...

RegEx: Link Twitter-Name Mentions to Twitter in HTML

I want to do THIS, just a little bit more complicated: Lets say, I have an HTML input: <a href="http://www.example.com" title="Bla @test blubb">Don t break!</a> Some Twitter Users: @...

twitter status update using tweetsharp oauth preview 17

I am trying to update the status using tweetsharp oauth preview 17. Please let me know how ?. I tried this code var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, ...

How to test the twitter API locally?

I m trying to write a web application that would use Twitter via OAuth. I run my local server as localhost , so I need the callback URL to be something like http://localhost/something/twitter.do ...

Get follower count on Twitter API search results

What I m trying to do is pull some search results, and sort them by users. Right now I m using $to->OAuthRequest( http://search.twitter.com/search.json , array( q => search-term ), GET ); to ...

热门标签