Question: In my iOS application I need to show user's tweets that contains a specific hashtag. In rest api 1.1 there is `users/search` endpoint. But it believe it is not the one that is suitable for this. There is `search/tweets` endpoint but I couldn't create the right query for this. Please help me with this.

Answer: 
I retried replacing localhost with the IP address of the PC on which the nodejs server is running, and it did work.
Here is how I have a working node server set up for socket.io. Perhaps this will help.

```
var express = require('express');
var app = express();
var http = require('http').Server(app);
var io = require('socket.io')(http);

app.use(express.static(__dirname + '/'));

app.get('/', function(req, res){
    res.sendfile('index.html');
});

io.on('connection', function(socket){
    // on connection from the client this is where you can do stuff like...
    //socket.emit('message', JSON.stringify(yourdataobj));
}
});

http.listen(3000, function(){
    console.log('listening on *:3000');
});

```

Then, in the client html (the index.html you served above) here are the following key lines.

In the head section:

```
<script src="/socket.io/socket.io.js"></script>

```

Just before the closing body tag:

```
<script>
var socket = io();

socket.on('message', function(msg){
    console.log(msg);
});
</script>

```

Also, refer back to the socket.io site for reminders and refreshers on how to set it all up: <http://socket.io/get-started/chat/>