Good example of how to build an iphone app that integrates with facebook - ios

I have experience building iPhone applications, however I'm new to the facebook API for iOS. Does anyone know of a good example of an iOS app that will post to user's facebook wall? I'm trying to integrate this functionality into an existing app that I'm working on. Thanks!

Check out the following open-source project:
facebook-ios-sdk
It's an open-source library to let you post to Facebook from your own iOS app.

They have posted code for a sample ViewController here as well. Unfortunately this doesn't do an explicit wall update, but it does read the users' status and request them to log in. And underneath this you can retrieve the source for the entire demo application:
https://github.com/facebook/facebook-ios-sdk/blob/master/sample/DemoApp/Classes/DemoAppViewController.m#L79
https://github.com/facebook/facebook-ios-sdk/tree/master/sample/DemoApp

You can check our documentation for iOS SDK 3.0.8 here at
https://developers.facebook.com/ios/
Download the SDK package here at
https://github.com/downloads/facebook/facebook-ios-sdk/FacebookSDK-3.0.8.pkg
Then try the samples/ folder for the existing samples.
Specially you can look at Scrumptuous and Hackbook for latest examples.

Related

Facebook SDK iOS FriendPicker and PlacePicker not existent in SDK 4.x

Been searching online through StackOverflow and through Facebook SDK Developer docs, can't seem to find where/if the current iOS SDK for Facebook (4.x) has the FBFriendPicker or FBPlacePicker as seen in these links:
https://developers.facebook.com/docs/reference/ios/3.5/protocol/FBFriendPickerDelegate
https://developers.facebook.com/docs/reference/ios/3.8/protocol/FBPlacePickerDelegate/
Does the FriendPicker and PlacePicker not exist in the iOS SDK 4.x? Trying to implement it for one of my iOS apps.
No, It doesn't exists...
https://developers.facebook.com/docs/ios/upgrading-4.x
FBViewController and related picker classes such as FBCacheDescriptor
have been removed. If you want to display Graph API results in a table
view, you can do it manually. Take a look at the Scrumptious or
RPSSample for ideas to get started.

How to integrate Aftership API in ios

I am working on iOS App where I have to use Aftership SDK for tracking the order-details. While integrating aftership sdk with my app I am facing problem of app crash. I have followed their doc https://www.aftership.com/docs/api/4 also downloaded the SDK from the link https://github.com/AfterShip/aftership-ios. It is not get clear, how to use from its docs page to integrate this API and I haven't found any useful blog or article which would guide me to integrate this.
Also we need to use pods for installation. As I am new to iOS I am not getting how to use pods and make the SDK ready.
This is my first time working on these type of project so Can anyone please help me, to get this done. I will be very thankful.

Unity and Facebook - iOS won't post, android does

having a bit of an issue that I haven't been able to find anywhere. I've created a game using Unity and the Facebook SDK for Unity. It works great in the editor, great when pushed to android....But when I try an iOS install, it won't post onto my timeline or anyone else's and invites don't work....But the android version does.
It brings up the dialog like it should, looks like it's about to invite/post, then just goes back to the game.
I'm using Unity 4.3.4, Facebook SDK for Unity 5.0.3 and Xcode 5.1.
Any help would be appreciated.
EDIT: Some additional news. Facebook SDK for Unity has a tutorial attached to it where they have a pre-built project called Friend Smash to show you how the SDK works. I just ran the completed project through Xcode and pushed it to my iPhone and have experienced the EXACT same issue. Invite appears to be sent (even appears on the screen saying "request sent") and it appears to post my score to Facebook, but again nothing appears on Facebook.
Looks like this was my stuff up.
Looks like my request wasn't being given a Post ID. In checking my code, I had written "actionlink", instead of "link" in the "onBragClicked" method which fouled up the process....Yet somehow didn't screw up my android build.
Anyway, thanks for viewing.

Facebook deep linking on iOS

this is my first time creating a iOS application. I m required to share my iOS app url schemes to Facebook. allowing user to click on the link and open my application.
I have tried Facebook link to your native app tutorial and i seem to miss some step. Is there other tutorial on facebook deep linking or example. Thanks you
You should check out the Turnpike open source framework. It makes it easy to implement deeplinking in your iOS app.
http://urxtech.github.io/
If you have any questions, feel free to reach out.
john # urx
just follow the steps on https://developers.facebook.com/docs/applinks/ios.
you will find https://developers.facebook.com/docs/applinks/add-to-content in that page
Read carefully.

Using IOS and facebook APIS

Hi Does any one know how to use facebook chat apis with ios, I have use git command from the steps followed here http://developers.facebook.com/docs/guides/mobile/ios/ after that i dont have any idea how to create a sample app and what syntax to follow. Thanks a lot
Max
I haven't yet worked with the FB SDK, but their guide says
The Github repository contains a sample application that showcases the iOS SDK features.
And indeed here's the sample: https://github.com/facebook/facebook-ios-sdk/tree/master/sample/DemoApp
You should check this sample app first. You can just open the DemoApp.xcodeproj file from your local git clone folder.

Resources