This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function postTweet($text) | |
{ | |
$tweet = utf8_encode($text); | |
$data_array = array('status' => $tweet); | |
$postfields = http_build_query($data_array); | |
$url = "https://api.twitter.com/1.1/statuses/update.json"; | |
$oauth_access_token = "PUT YOUR TOKEN HERE"; | |
$oauth_access_token_secret = "PUT YOUR TOKEN SECRET HERE"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeChildObject : IChildObject | |
{ | |
public SomeChildObject(IMyLowLevelDependency foo) | |
{ | |
foo.DoSomething(); | |
} | |
} | |
class MyObject | |
{ |