'Returns a filtered view of public statuses.
Args:
follow:
A list of user IDs to track. [Optional]
track:
A list of expressions to track. [Optional]
locations:
A list of Longitude,Latitude pairs (as strings) specifying
bounding boxes for the tweets\' origin. [Optional]
delimited:
Specifies a message length. [Optional]
stall_warnings:
Set to True to have Twitter deliver stall warnings. [Optional]
Returns:
A twitter stream'

def GetStreamFilter(self, follow=None, track=None, locations=None, delimited=None, stall_warnings=None):

    if all(((follow is None), (track is None), (locations is None))):
        raise ValueError({'message': 'No    filter    parameters    specified.'})
    url = ('%s/statuses/filter.json' % self.stream_url)
    data = {}
    if (follow is not None):
        data['follow'] = ','.join(follow)
    if (track is not None):
        data['track'] = ','.join(track)
    if (locations is not None):
        data['locations'] = ','.join(locations)
    if (delimited is not None):
        data['delimited'] = str(delimited)
    if (stall_warnings is not None):
        data['stall_warnings'] = str(stall_warnings)
    resp = self._RequestStream(url, 'POST', data=data)
    for line in resp.iter_lines():
        if line:
            data = self._ParseAndCheckTwitter(line.decode('utf-8'))
            (yield data)
