How to real-time update comments using Parse? - objective-c

I'm posting/saving comments using Parse but it doesn't really update what user's currently looking at.
For example, on Instagram while reading a picture's comments, if any new comment's posted by someone, you see it right away. How does that work?

Not possible.
You'd have to use something like PubNub which is another service for your app besides Parse.
Found a clear and detailed answer here -
http://www.quora.com/Is-it-possible-to-use-Parse-com-for-realtime-chat-like-Socket-io

Related

Is anyone else having a problem with Youtubes Api while trying to get live users?

Checking for live users with youtube's API isn't working for me.
https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=*****&key=*****&type=video&eventType=live
removing channelId or eventType works but that's not what im looking for, could
this youtubes side or something?
There is definitely something going on with the YouTube Data API. If you give it a try on the on the Deverloper Console for Search: list it won't work if you are providing channelId. However, if you provide channelId it will always return 0 results.
Google's instructions for getting help say to add the tag google-apis-explorer to your post. If you can edit that, give it a try. Hopefully we'll all get some answers soon.

Twitter API update_profile_banner

Can anyone help with using the Twitter API to upload a profile banner using the account/update_profile_banner? I have been searching on Google for so long and can't find any solution, thanks in advance
Based on https://gist.github.com/hayesdavis/97756
It looks like the docs are misleading, unless you are uploading a really small image, I expect it is critical to use multi part form data instead of encoding data in the query params.
Post your example code though, it's bad stackoverflow form to just say it doesn't work without showing the code and errors you are getting.

Multiple comment plugin loading on Blogger

on my blog I’m using from a long time the IntenseDebate pluging as commenting system in place of the default one.
I would replace it with Google+ comment system but I don’t want to lose all comments already left by the users via IntenseDebate, so I would figure out if there’s any way to load on the old posts the IntenseDebate pluging in place of the default Google+.
As possible solution, I’m thinking something like a tag in the html post code that (if defined) load the IntenseDebate pluging.
What do you think?
its not posible to migrate IntenseDebate comment on google plus. Their is one solution that you can use multiple comment system in your blogger blog. just few month ago i had written trick for the same. I hope that this will be useful to you.
http://www.tipsviablogging.com/multiple-comment-system-blogspot/

Best practice: capturing data from URL

I'm looking for some advice on best practice in an MVC application. I can think of several ways of achieving what I want to achieve but I don't know what is considered best.
I am writing a discussion forum app and need to capture data from a URL to include in a post back from the page. I have links like this:
http://somedomain/Discussion/AddMessage/messageid/messagetitle
I need to include messageid and messagetitle in the form that is posted back on this page. What's the best way of going about this?
Ta! Mark
Your current url is more RPC, I would recommend reading about REST. I think a url like
http://somedomain/discussion/message
MessageId and MessageTitle are simply POST values.
http://www.codeproject.com/Articles/233572/Build-truly-RESTful-API-and-website-using-same-ASP

Facebook app to edit posts

Is it possible to make a Facebook app which edits user's post on his wall automatically (edits EVERY POST that user makes, app has user's permission and everything)
I don't think that's possible, but maybe I'm wrong?
Based on the Graph API docs, I actually think it could work.
Get the extended permission called
"offline_access". See
http://developers.facebook.com/docs/authentication/permissions
Periodically pull from
https://graph.facebook.com/PROFILE_ID/feed
to see if the user has posted new
posts.
If so, for each new post that has appeared:
Pull and store the text of the post.
Manipulate the text as desired.
Delete the original post using
"DELETE". See
http://developers.facebook.com/docs/api#deleting
Publish your modified version of the
post using "POST". See
http://developers.facebook.com/docs/api#publishing
#Jon: You cannot delete a post that your application has not published.
See here: https://developers.facebook.com/docs/reference/api/post/
No, it's not possible for security reasons. Even though you probably have the best of intentions, there are lots of people who unfortunately don't. The few ruin it for all.