Facebook API not working perfectly for IOS5 - iphone

I ve Downloaded Facebook API fro IOS 5....But its showing some errors regrading the memory release...Since apple has introduced autorelease in IOS 5....
I referred this and tried blocking ARC for certain files ,bt it doesn't work for me...
Is there any other methods to stop ARC in IOS 5?
How to overcome this?
Any one plz provide me the link for downloading the Facebook API for IOS 5...

If you use official SDK, you should compile it as a static library, not with your code, and then link your app with that library. You could see how it is done in SDK examples, and also here is some information about building process. Hope it will help.

Here is the link with working Source Code:
http://www.apress.com/9781430235422
Download complete source code from "Source Code/Downloads"

Related

unable to add Facebook SDK in iphone application

I am working on an iphone application where i am uploading video to youtube i have successfuly worked around that.
Now when i try to integarte the facebook in app it is creating a problem due to SBJason.h file in both the sdk. as both the sdk have SBJason file in their SDK kit.
So i need to have any workaround you can suggest.
Thankx in advance.
You have to remove one of the SDK's SBJson.
First see which is the updated one
If you see any updated one, keep it and remove the older one.
If Both are same, so you can remove any of them, it will not effect the project (hopefully)

is there any single library for twitter sharing in ios4 and ios 5

I need to share one video url getting from my server in twitter.
And my app must be compatible for both ios 4.0 and ios 5.0.
I know that there is twitter+oauth library for ios 4.0 and twitter inbuilt library for ios 5.0. And my functionality is twitter library need to ask user credentials only once for twitter authentication and need to post that video url in background with out asking user permission.
From the second time onwards video must posted in background.
As per my knowledge we have different libraries we need to use but is there any solution that do implemant my task with one library.
Please help me.
For a beautiful implementation, check out DETweetComposeViewController.
It will provide you with a UI that looks almost identical to what iOS5 users now are growing accustomed to. The great point is, it works on iOS4 and iOS5 flawlessly.
GetShareKit was a basic library created by Nate Weiner that's now outdated. If you check it's GitHub source, the last commit was sometime in 2010. This version is buggy and has about 20+ compile warnings. this uses an older version of the Facebook and Twitter sharing mechanisms that are now deprecated and also, buggy. Clicking Twitter's "Share", for eg, won't dismiss the sharing dialog.
So, a bunch of developers forked off the original library and now maintain what's called ShareKit 2.0 SDK. If you check the wiki, you'll learn that all new services like Foursquare, LinkedIn, InstaPaper, EverNote have been added to this new version. Happy Coding!

Trouble integrating Facebook into iPhone app

I've been following this guide on integrating Facebook into my app. Everything is going well except for when I add in the Facebook SDK to my project.
I have added in all the code to enable SSO, however when I build and run my project I get loads of errors caused by the Facebook SDK:
I think it may be due to the sdk being out of date but I got it from the git page so I would have thought it should be compatible with iOS 5.
Maybe I need to carry out some extra steps when adding it into my project? All I did was literally drag and drop the src folder in (not the .pch and .xcodeproj files).
Please can someone help me out - I've tried searching for help online but couldn't find anything of use.
The SDK is outdated for the ARC yes. You have to turn off ARC for the SDK, check this answer out: How can I disable ARC for a single file in a project?
go to project navigator->Build Settings
set Objective-C Automatic Reference Counting to NO.

Google Analytics with MonoTouch crashes on device

I am trying to use Google Analytics with a MonoTouch application (iPhone). It works great on the simulator but crashes on startup on an actual iPhone.
This is apparently due to a bug in the XCode linker than doesn't allow libraries with Thumb and non-Thumb instruction sets to be linked together.
http://monotouch.net/Documentation/Troubleshoot
From what I can see, MonoTouch is compiled with non Thumb. The Google Analytics lib is compiled with Thumb.
Has anyone figured out a workaround for this?
Clarification - We are using GA to track the page & event views of our own app. We are not writing an app to query the GA API.
Hello i've done some work with the Analytics API
http://dl.dropbox.com/u/2058130/Analytics.zip
here you are the DLLs i used, this are already monotouch precompiled DLL's you need to import to your project the 3 of them in order to use it
here is the documentation of the dll
http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html
Hope this helps
Alex
There is no workaround at this time, you should "star" this issue to let Google know its important for you:
http://code.google.com/p/gdata-issues/issues/detail?id=1705
As of version 1.1, the Google Analytics SDK provides a nothumb version of the library.

iPhone Facebook Graph API library

Is there an library for the iPhone using the new Facebook Graph API yet?
This library is great: http://www.capturetheconversation.com/technology/iphone-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2
I am using it with great success in a current iPad project.
Update: Author just posted code to github: http://github.com/reallylongaddress/iPhone-Facebook-Graph-API
Update: Please check https://github.com/reallylongaddress/iPhone-Facebook-Graph-API/issues/4 if you find post to FB crashing while using code
Not that I have seen and trying to write something myself has been without success. I am VERY disappointed with Facebook and there lack of support in this area especially since they want developers to move over to the API, however iPhone developers are SOL at the moment which is a shame since using their current SDK is a pain in the ass with all of their callbacks and delegates. It is not very clean at all.
FB Graph API SDK for iPhone is rumored to be released during WWDC. Android SDK is already officially announced (but not released, yet).