tutorials for using web services? - iphone

I am new to xcode4 iphone programming , I am trying to create webservices; for example searching flickr or twitter and displaying the result .
are there any example or tutorial that i can utilize to learn how the search and display works?
Thanks

Some Tutorial may have changed the API, but will help you a lot.
Twitter
iOS 5 and the Twitter Framework: First Steps
iOS 5 and the Twitter Framework: Advanced Techniques
iPhone SDK: Connect to Twitter with OAuth
facebook
How To Get a User Profile with Facebook’s New Graph API from your iPhone App
How To Use Facebook’s New Graph API from your iPhone App
Facebook iOS SDK Tutorial : iPhone App Facebook integration with SSO (Single Sign On) FBConnect
Integrating Facebook in iOS
flickr
iPhone JSON Flickr Tutorial – Part 1
iPhone JSON Flickr Tutorial – Part 2
iPhone JSON Flickr Tutorial – Part 3
webservice, sharekit
iOS Quick Tip: Interacting with Web Services
iOS Project Spotlight: ShareKit

You can read these tutorials, they are very useful:
iOS 5 and the Twitter Framework: First Steps
iPhone SDK: Connect to Twitter with OAuth
You can search the site for more tutorials, it has a very good tutorial for every field, apps/games and for iOS and Android.

Related

Possible to use the native facebook app to log into a mobile html5 app? On the iPhone

I'm trying to have my html5 site open the native iPhone Facebook app to authenticate users.
The site currently uses OAuth 2 on the server side - so it redirects everyone to the web version of Facebook. This is a problem because I dont want to force people to log in on a tiny keyboard.
Can you get the html5 app to open in Safari and authenticate through the native FB app?
If this is not possible with Facebook is it possible with Twitter apps? What is the experience like on android?
I do know that you can authenticate between a native iPhone app and the native Facebook app.
Yes you can do this just use the boilerplate code in facebook developers section of the site and following the guide exactly... I have tried this and it worked for me you just need to find a way to connect your oAuth to this...

Objective-C library for using Google+ from iPhone

I am new to programming on the iPhone and I want to integrate Google+ in my application. Is there any API for integrating Google+?
Sure, Google have an Objective-C API for many of their public services available at http://code.google.com/p/google-api-objectivec-client/
The Google+ iOS SDK and sample application demonstrates how you can integrate the share plugin, sign-in button, and use the Google+ history API.
https://developers.google.com/+/mobile/ios/

Twitter and FB integration to iPhone app

Does anybody know a good framework for twitter and FB integration to iPhone app which support location sharing as well ? I tried out sharekit but it seems it does not support geoaware tweets... any help would be much appreciated.
iOS5 has a native Twitter integration and Facebook has a native iOS SDK (https://developers.facebook.com/docs/reference/iossdk/)
Have a look at this post to do Twitter integration. So Integrating Twitter in > iOS 5.0 is quite simple and does show a nice dialog:

integrate app with native facebook iOS without using an iOS app

Im wondering if its possible to link my app with the native facebook iphone-app without using iOS at all.
It was pretty easy to create a mobile version and connect it with the m.facebook.com (so it appears in the broswer) through the Developer > Mobile Web URL but it doesnt work/recognize with the native app of facebook.
Is there a way to connect the native iOS FB to my app without creating an app? So it redirects automatically to the browser?
Im trying to avoid to create an iOS app.
Thanks a lot!
If the Application is linked to in news story or post then the App will open in in a browser.
For full integration you'll need a App.
(I don't have a iOS app to test, only pure web app and after posting the apps.facebook.com link to a wall, that link in App opened in the in built web browser).

how can I sign in from my iphone app to facebook account?

I want to sign in to facebook using my application, so how do I code it?
Facebook provide an iOS SDK that gives you the ability to sign into Facebook and methods for accessing the GraphAPI.
Check here for information - http://developers.facebook.com/blog/post/400
Facebook iOS SDK is available here.
You will have to
Download the SDK, and install it
Create a Facebook App in your Facebook developer console, and get a
Facebook app id.
In your Xcode project add the Facebook SDK framework files.
Add the Facebook app id in your projects Info.plist file, and start
coding.
You could get more information here.
Edit : From iOS6 onwards, Apple has a new framework to post into Facebook. It is called Social Framework, and you could find information about it here.