Reputation: 33026
I'm trying to make a mobile app for Facebook. I'm thinking of having a process running on the Heroku server that will listen for connections from the app that users will run on their iPhones, basically wait there all the time for a signal to do something, and then it can execute tasks on it's own without the user having to load a webpage.
Is this possible?
Upvotes: 0
Views: 54
Reputation: 31880
Basically what you want is a "web service" that the ios code can call without any human interaction. A web service is like a webpage, but just responds with data. Kindla like the graph API returns a JSON object for GET requests.
Calling that webservice from ios should be just as easy as the ios SDK does to call into the Graph API. Check out the opensource ios SDK to see how they're doing it and mimick that in your ios code.
Upvotes: 2