I use Facebook's comment social plugin in my website, and now I'd like to go further integrate it to iPhone app.
Is there any possible way to read the content of the comments in my website by Facebook's iPhone SDK?
fyi:
http://developers.facebook.com/blog/post/490
now we can use graph api to extract the comment:
Comments for every URL can be accessed via the Graph API:
https://graph.facebook.com/comments/?ids={YOUR_URL}
Related
As the title suggests I want to add Social media extensions into my iOS application, I have seen multiple tutorials on how to publish to an external source e.g. Facebook, Twitter, Instagram etc... which seems easy enough.
Now my question is it possible to do the reverse and instead retrieve information from these external factors? For example if I set the application to look directly at my Facebook profile when loaded and retrieve my Facebook status's.
I've heard of the concept of a Facebook Graph API which I plan on learning of the next couple of weeks. I'm looking for any resource materials or videos which I can use to learn from. I'm currently looking through Facebook's developers options but any additional information would be great.
You're going to want to use their official API. These links are a good starting point.
Facebook SDK for iOS
Twitter SDK for iOS
Instagram support for iOS
i want to allow a user to login using facebook id and give rating to the particular FB page . is it possible from native ios application ?
It's not possible to create a Rating via the Graph API. Have a look at the docs at https://developers.facebook.com/docs/graph-api/reference/v2.1/page/ratings
You can only read Ratings.
You can implement SocialFramework, and sharing data on facebook, but not give raiting. More information:
tutorial for SLCompose
I'm trying to show information about certain facebook pages in an iOS app, and I know for a fact that it is not needed any authentication when using the graph api by HTTP but I can't find a way to do it with the iOS SDK. Is this possible or should I get it with the graph API??
You can use the Graph API with just an appid and a key, no Facebook SDK required. See this: Facebook API: Can I simply read posts from wall without loging in?
I find it disturbing that its very easy to pick friends with friendPicker (FacebookSDK) and post pictures is extremely easy with IOS 6.0 social framework but to post the two combined seems very difficult.
I'm looking into the Facebook Open Graph API - https://developers.facebook.com/docs/opengraph/getting-started/
It seems very difficult in comparison since it requires application server etc. Its however the only solution I have found so far.
Is the use of the Open Graph API the way to go, to post a picture with tagged friends to facebook wall, or is there anything in the IOS Social Framework that can accomplish this?
With the Facebook Object API, you no longer need to set up a server in order to host Open Graph objects. You can directly create/add them to Facebook.
https://developers.facebook.com/docs/opengraph/using-object-api/
You can also use the native Share Dialog (in versions 3.5+ of the SDK) to share Open Graph stories with photos and user tagging embedded. See the Scrumptious app on how to create a story with photos and tags and publishing either via Open Graph directly, or using the native Share Dialog.
I currently have an iOS app with facebook integration that allows users to post their photos to facebook.
I want to add twitter integration as well, but I couldn't find any information about it. I read somewhere that it's now possible to upload photos directly to twitter, without an external site, such as twitpic.
Does twitter provide an iOS API in the same manner that facebook provides their APIs?
I looked over ShareKit, but it has tons of features that I don't need and the workflow of uploading a photo is customized in my app. Worst case, I'll copy-paste some code from ShareKit, but I'm not sure it even has the ability to share a photo to twitter.
Twitter doesn't provide it's own photo sharing API. You have to upload your photos somewhere (on your own server, twitpic, etc.) and get the link and post the photo's link along with the tweet text.
I haven't used twitpic before but it looks like they have their own API that you can check out here.
If you're uploading them to your own server, you should use bit.ly's api to shorten the URL's of the photo links to provide more tweet text space. Info on bit.ly's API is here.