Parse compatibility with Facebook SDK - facebook

I've just downloaded a PARSE Starter Project, as well a the latest Facebook SDK.
I've followed all the steps from Parse and Facebook tutorials on how to get started, and I had to solve a lot of issues linked to the bridging header.
However, now that everything should work fine, I got a problem: ParseFacebookUtils.Framework has a
#import <FacebookSDK/FacebookSDK.h>
statement.
However, latest Facebook SDKs do not have this framework anymore.
Is there a way I can solve this issue?

Yes, the Parse framework supports both, the 3.x versions of the Facebook SDK and the 4.x versions.
If you chose to use the 4.x versions, use the ParseFacebookUtilsV4.framework instead of ParseFacebookUtils.framework which only supports 3.x of the Facebook SDKs

Related

phonegap 2.2 and facebook integration

I have been recently begin working with phonegap and I notice that there is no tutorial for phonegap 2.2, the most recent version. What's more, since phonegap 2.0 there has apparently been drastic changes. I am having lots of trouble with using phonegap since I am new to web-iphone apps.
I am trying to make an application with phonegap to use facebook log in to get your data (pics, friends, etc) and then post on your facebook page, update status, etc. Basically a social App.
It seems that no tutorial is clear on any facebook-phonegap integration and social web based app.
I have seen a video with phonegap 1.8 tutorial and have followed it very close, only to get many errors.
I followed the one on:
https://github.com/davejohnson/phonegap-plugin-facebook-connect
and have had protocol.
I have tried many different things, but it seems that xcode simply is not able to recognize some functions or protocols. I am looking to see if I missed anything, but Ive added everything according to steps followed.
Ive tried adding the facebook.Framework, the extra headers, heck, Ive even added all of the files from the facebook SDK in the src file of the package:
https://github.com/facebook/facebook-ios-sdk
I cant seem to put together a simple facebook log in app...
anyone got it to work? what are the exact steps to follow? Im good with a new 2.2 cordova project and up until I put the files: FacebookCOnnectPlugin.h and .m that is where everything gets messed up.
I DO have the libsqlite3.0.dylib and HAVE followed the steps, added all the stuff in various .plist and all these weird long and annoying procedures many times...
Ive tried adding various libraries and just can't come up with anything else so why can't I just start a simple cordova project and get the option to log-in connect fb. like a simple hackbook sample.... I get it working in Objective-c demo (new single view application project)... Why does everything have to be so difficult and not working. I just want to get a page to start coding at. Just to get to this point, not even starting is so difficult.
very frustrating....
any help is much appreciated.
-- Im new to web apps and iphone...
I got it working but there are lots of issues and tweaks you need to do in order for it to fully work.
In my experience PhoneGap Plugins do work but you have to play around a lot. E.g. I know for sure the new Facebook SDK is not supported by the PhoneGap plugin. Even if you import the Deprecated Headers. I had to use the older version of the SDK. And also with version 2.7 not all plugins are supported so I had to stick to an older version 2.5 so I could get my project to work.
Even tough I got this plugin to work on iOS, it doesn't work on Android. It's a really good platform to develop on if you're looking for fast productivity but i'm still a bit spectacle on being heavily dependant on the plugins which are not being maintained continuously.
Hope this helps.

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!

Latest version of JSON-Framework

I am looking for the latest version of JSON-Framework for ios 5.0. I like this becouse is very easy to use (you can see here)
I have found this but in the oficial web, all is deprecated.
(Here is an image, i can post any image yet)
Any idea?
JSON-Framework is available on Github here, and it is still being updated
But you don't need to use it ion iOS 5 at all, because Apple introduced native JSON parsing using the NSJsonSerialization class (documentation here). Most developers would recommend moving to Apple's native implementation unless you had a specific reason for not doing so, and then falling back to a library like JSON-Framework for older OS versions.

iPhone - iOS4 - is there a Step-by-step guide on how to upgrade OLD Apps to new SDK?

Is there a Step-by-step guide on how to upgrade OLD Apps to new SDK ?
Especially, which features from old version will not work in new one?
Creating this guide will help companies create toolkit for people who are struggling
There's no official step-by-step guide, there are however documents on developer.apple.com showing the API Differences between specific versions of the SDK.
Example: iOS 4.0 to iOS 4.1 API Differences
Besides reading & examining the changelogs yourself, you can always open your project with the new SDK. If I'm not mistaken will the compiler show warnings for deprecated API calls. After you have fixed these warnings and the project compiles without errors/warnings you should be all set and your app should run on the newer SDK version.
Remember that this could potentially break your app on older SDK versions.

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).