Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track => Locations #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions library/eden/twitter/streaming.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function streamWithFollowings() {
/**
* By default @replies are only sent if the current user follows both the sender
* and receiver of the reply. For example, consider the case where Alice follows Bob,
* but Alice doesn�t follow Carol. By default, if Bob @replies Carol, Alice does not
* but Alice doesn�t follow Carol. By default, if Bob @replies Carol, Alice does not
* see the Tweet. This mimics twitter.com and api.twitter.com behavior.
*
* @param integer
Expand Down Expand Up @@ -189,7 +189,7 @@ public function setLocation($locations) {
Eden_Twitter_Error::i()->argument(1, 'string', 'array');

//if it is array
if(is_array($track)) {
if(is_array($locations)) {
$this->_query['locations'] = implode(',', $locations);
//else it is string
} else {
Expand Down Expand Up @@ -225,4 +225,4 @@ public function setStallWarning() {
-------------------------------*/
/* Private Methods
-------------------------------*/
}
}