« first day (678 days earlier)      last day (2086 days later) » 

13:27
Hi, is it possible to execute a client javascript function as a post reply with the express framework?
 
1 hour later…
14:50
@hofmeister what do you mean? You can never execute server code on the client, that's sort of the definition of separation of machines. You can, however, wait for the POST response data from the server and run that on the client. Or you can use something like the Connect Middleware bodyparser and end up with the form data that was sent.
15:46
Hi, can anyone help me. I have a problem understanding node.js and realtime api instagram
Well, there's two of us.
What can I do you for?
I subscribed successfully and i get many arrays posted per second
they all look like this: [ { changed_aspect: 'media',
subscription_id: 2844823,
object: 'tag',
object_id: 'food',
time: 1359560784 } ]
but where is the information like the picture url?
i use express-bodyParser and print these arrays via req.body
So what you really have is a question about "how do I turn a subscription_id into a picture URL" right?
what's the link to their API?
Receiving Updates
they say this is the expected output but i thought for every picture that gets posted on instagram i get the url or something
or: what to do with that data?
List your subscriptions
If you'd like to see your current subscriptions, all you have to do is make a GET request to the /subscriptions endpoint

api.instagram.com/v1/…
What do you get when you get this list?
15:53
{"meta":{"code":200},"data":[{"object":"tag","object_id":"food","aspect":"media"‌​,"callback_url":"http:\/\/134.60.153.90:3000","type":"subscription","id":"2844823"‌​}]}
I'm pretty sure you need to use the route in this API doc instagram.com/developer/endpoints/media to get the updates that you need.
i am subscribed and i receive many post requests and they are all displayed in my console but my question is what to do with that information. This is telling me nothing about the picture posted, or is it?
@TimDau it's telling you about updates to the picture, it would appear.
It looks like you're subscribed on the food tag, not a given picture
yes this is correct
and everytime someone posts a picture flagged with #food i get a POST request
this post request contains this:
POST / 200 1ms - 143
[ { changed_aspect: 'media',
subscription_id: 2844823,
object: 'tag',
object_id: 'food',
time: 1359561407 } ]
but what can i do with this information? Nothing?!
Just out of curiosity, did you confirm the subscription?
In order to verify the subscription, your server must respond to the GET request with the hub.challenge parameter only:

15f7d1a91c1f40f8a748fd134752feb3
15:57
i did that, i am subscribed
no problem there
ok
Their JSON looks like:
{
    "meta": {
        "code": 200
    },
    "data": [
        {
            "id": "1",
            "type": "subscribe",
            "object": "user",
            "aspect": "media",
            "callback_url": "http://your-callback.com/url/"
        },
        {
            "id": "2",
            "type": "subscription",
            "object": "location",
            "object_id": "2345",
            "aspect": "media",
            "callback_url": "http://your-callback.com/url/"
        }
    ]
}
yeah this is the json from api.instagram.com/v1/…
If you had that as a response, then I would tell you to use object_id to lookup the details of the post
Sorry, my wifi keeps dropping out
I expect you'll either need to post a full-blown SO Q or contact the Instagram team directly
yes, thx
 
3 hours later…
18:37
Hi , anybody there ?
 
2 hours later…
20:27
@Smartboy I can give the same response as is normally recv'd when folks ask that question. If you look at the top right and nobody is up there but you, then no.
21:21
Finally, a node.js chatroom.
@jsksma2 yeah, since March 23, 2011
lol. Correction, finally a node.js chatroom with people in it who respond!
Do you know of any decent tutorials to get my node.js code up and running on AWS? I've been struggling with "Operation timeout" errors all last night :/
@jsksma2 They do have a pretty successful IRC channel as well
@jsksma2 I do not. I don't do AWS. And Heroku is down right now (afaik) or I would encourage you to explore with them. Another alternate is to check out Azure which allows live updates of the source from git.
I don't know about Azure, but I was advised not to use Heroku for what I'm trying to do, which is create a server in which I can perform HTTP requests to an iOS/Android device.
Also, I was told Heroku goes down frequently lol.
lol, idk
I also don't work with AWS so idk
21:35
I was more enticed to use Heroku initially, but I quickly found that many people trying to do what I need to do shy away from it for some reason :(
Probably because a VPS is always more flexibile?
I think it had to do with Heroku being designed to handle larger amounts of data than a mobile device normally puts/gets. I could be wrong though.

« first day (678 days earlier)      last day (2086 days later) »