Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 07-09-2011, 03:39 PM   #1 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Question Can someone please update/create a new FBConnect tutorial?

Hey,

Every FBConnect tutorial I find, is like 2 years old. Now Facebook keeps updating their code like every 2 weeks and now those tutorials back from 2009 are worthless. Everything is completely different in their new source code. Does anyone know any newer tutorials from this year or can someone please share what they did from scratch to make FBConnect work with their new source code?

Thanks everyone!
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 07-17-2011, 09:11 AM   #2 (permalink)
16 year old enthusiast
 
Join Date: Dec 2010
Location: Bratislava, Slovakia
Age: 16
Posts: 225
MacBook MH is on a distinguished road
Default

Yup, there is no UP-TO-DATE tutorial anywhere i can find... It would like to publish a "status update" with a link in my app, but cant manage to do that ... Can someone share a good tutorial if there is one?
MacBook MH is offline   Reply With Quote
Old 07-17-2011, 09:34 AM   #3 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 136
Allah is on a distinguished road
Default

FBConnects GitHub was updated in April, recent enough?
Allah is offline   Reply With Quote
Old 07-17-2011, 09:37 AM   #4 (permalink)
16 year old enthusiast
 
Join Date: Dec 2010
Location: Bratislava, Slovakia
Age: 16
Posts: 225
MacBook MH is on a distinguished road
Default

yep... the sdk is new, but no matchin tut...
MacBook MH is offline   Reply With Quote
Old 07-17-2011, 10:01 AM   #5 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 136
Allah is on a distinguished road
Default

Quote:
Originally Posted by MacBook MH View Post
yep... the sdk is new, but no matchin tut...
Fair point the readme has these:
Code:
    [facebook requestWithGraphPath:@"me" andDelegate:self];             // get information about the currently logged in user
    [facebook requestWithGraphPath:@"platform/posts" andDelegate:self]; // get the posts made by the "platform" page
    [facebook requestWithGraphPath:@"me/friends" andDelegate:self];     // get the logged-in user's friends
And if you look in the header files there are more, but there isn't much guidance on the internet for the params and stuff like that.

EDIT: There are some alternatives and I've just found this on the Facebook website

EDIT 2: Seems as if shareKit isn't perfect, because it has many services, and it's a menu.

Last edited by Allah; 07-17-2011 at 01:27 PM.
Allah is offline   Reply With Quote
Old 07-17-2011, 01:47 PM   #6 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Thanks for the info, but I need a tutorial from the middle somewhat. I got up to the point where the FBConnect files are in my app and ready to go. I just need to know how to import/what to import and what to put in my view did load, etc... Then finally I need to know how to post when I click a button (IBAction).

I would use ShareKit but:
1. Its buggy
2. Its not updated a lot
3. I do not want a UIActionSheet
4. I am using Apple's twitter client
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 07-17-2011, 03:58 PM   #7 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

This actually isn't a bad tutorial, its actually the official Facebook one.
Mobile Apps - Facebook Developers
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 07-17-2011, 04:31 PM   #8 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 136
Allah is on a distinguished road
Default

Quote:
Originally Posted by Objective Zero View Post
This actually isn't a bad tutorial, its actually the official Facebook one.
Mobile Apps - Facebook Developers
I suppose it's all about understanding the Graph API.
Allah is offline   Reply With Quote
Old 07-17-2011, 05:02 PM   #9 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

I followed that tutorial, but there is a problem, look at my StackOverflow post here:
FBConnect problem - Stack Overflow
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 07-30-2011, 08:50 PM   #10 (permalink)
Registered Member
 
Join Date: Jul 2011
Location: CA, US
Posts: 4
wandou is on a distinguished road
Default

You can try ShareKit, there is a branch that works with new FBConnect. we use it in our app, works fine.
wandou is offline   Reply With Quote
Old 07-31-2011, 01:53 PM   #11 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

With ShareKit, can I just use only the Faceboo part. And can I use it without a action sheet in some areas while in other areas i do use the action sheet?
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 07-31-2011, 04:17 PM   #12 (permalink)
Registered Member
 
Join Date: Jul 2011
Location: CA, US
Posts: 4
wandou is on a distinguished road
Default

yes, you can. you can remove all the other unnecessary codes. and you don't need to use action sheet. you just need to dig a little bit into the code or just look at the documentation on their website
wandou is offline   Reply With Quote
Old 08-07-2011, 11:16 PM   #13 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,569
Domele is on a distinguished road
Default

Here is Sharekit's documentation on how to do that: ShareKit : Documentation
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Old 08-17-2011, 11:43 AM   #14 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 2
Anand63 is on a distinguished road
Default

Hi
Please help me...!
I am preparing(studying) How to develop a iphone apps.
I have some books on development of apps.
Please suggest me form which book i study..
Which book is good for fresher's..

1) Building iPhone Apps with HTML,CSS and JavaScript
By Jonathan Stark O’REILLY

2) iPhone Application Development for ios 4
By DUNCAN CAMPBELL

3) iPhone Application Development the missing manual
BY Craig Hockenberry O’REILLY

4) Professional iPhone and ipad Application Development
By GENE BACKLIN

5) The Business of iPhone App Development
BY Dave Wooldridge with Michael Schneider
Anand63 is offline   Reply With Quote
Old 09-01-2011, 04:30 AM   #15 (permalink)
Registered Member
 
Join Date: Jul 2011
Location: Bangkok, Thailand
Posts: 33
mr3cho is on a distinguished road
Default ARRGGHH

The documentation for facebook sdk is so fragmented! For example the documentation on developers.facebook.com/blog/post/532 says to use...

Code:
facebook = [[Facebook alloc] initWithAppId:@"YOUR_APP_ID"];
while the documentation/sample on github says to use...
Code:
facebook = [[Facebook alloc] initWithAppId:@"YOUR_APP_ID" andDelegate:self];
i'd have to go with the code sample on github since the demo seems to work. This is all very frustrating!
mr3cho is offline   Reply With Quote
Old 09-01-2011, 09:53 AM   #16 (permalink)
Registered Member
 
SundialSoft's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 176
SundialSoft is on a distinguished road
Default Getting to grips with Facebook

Having just reached completion point with my first app which went live today (does FB posts, photos with comments, downloads newsfeed, photos & comments) I can assure you that if you use the github sample & also have a look at Ray Wenderlich's FB example you then have enough to get going.

Register as a FB dev and create an app with FB so you have the correct id's to insert in the demo app & get the demo app working properly then you can take it from there.

Get stuck in to the graph api docs because that includes most of what you need to do things.

There are quite a lot of posts out there on this site & stack overflow.
SundialSoft is offline   Reply With Quote
Old 09-02-2011, 07:18 AM   #17 (permalink)
Registered Member
 
Join Date: Jul 2011
Location: Bangkok, Thailand
Posts: 33
mr3cho is on a distinguished road
Default

Quote:
Originally Posted by SundialSoft View Post
Having just reached completion point with my first app which went live today (does FB posts, photos with comments, downloads newsfeed, photos & comments) I can assure you that if you use the github sample & also have a look at Ray Wenderlich's FB example you then have enough to get going.

Register as a FB dev and create an app with FB so you have the correct id's to insert in the demo app & get the demo app working properly then you can take it from there.

Get stuck in to the graph api docs because that includes most of what you need to do things.

There are quite a lot of posts out there on this site & stack overflow.

Cool. I've been following the demo and have made some good progress on integrating FB connect with my project.

I'd like to be able to log into facebook without having to show the 'allow access' screen everytime but the demo app doesn't cover that.
mr3cho is offline   Reply With Quote
Old 09-02-2011, 10:30 AM   #18 (permalink)
Registered Member
 
SundialSoft's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 176
SundialSoft is on a distinguished road
Default

Quote:
Originally Posted by mr3cho View Post
Cool. I've been following the demo and have made some good progress on integrating FB connect with my project.

I'd like to be able to log into facebook without having to show the 'allow access' screen everytime but the demo app doesn't cover that.
I assume you mean the login screen? You can work around that. When you log in you get a token. You can save that in user defaults & check if it's still usable before asking for the login. There are a couple of posts about it, just search here & stack overflow.
SundialSoft is offline   Reply With Quote
Reply

Bookmarks

Tags
fbconnect

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 448
17 members and 431 guests
ahmedozcan, baja_yu, Droverson, iAppDeveloper, ipodphone, jasper_muc, JoeRCruso, karatebasker, laureix68, LunarMoon, PapaSmurf, peterwilli, pipposanta, Rudy, SLIC, SuperDietGenius, vogueestylee
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,962
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:12 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0