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 Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-02-2009, 09:20 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 79
joshholat is on a distinguished road
Default Facebook Connect files won't work

Hey, I'm currently trying to get FBConnect to work via this tutorial: How To: Implement Facebook Connect on the iPhone in 5 minutes on Vimeo

I can run the sample project that they include with a working facebook connect, but whenever I try to follow the steps in that video to add it to my own project, I get 60 errors. Can anyone help me out?

I'm dragging the group from the correct project to my own project and have tried both the path in the video as well as "../../src" to get it to work, but I can't figure it out
__________________
Josh Holat Software
Check out my software at http://www.joshholat.com/iphoneapps.php
joshholat is offline   Reply With Quote
Old 04-02-2009, 09:37 PM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 79
joshholat is on a distinguished road
Default

Srry, issue fixed. Wrong file path. Stupid mistake.
__________________
Josh Holat Software
Check out my software at http://www.joshholat.com/iphoneapps.php
joshholat is offline   Reply With Quote
Old 05-09-2009, 06:14 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2008
Location: Hyderabad,India
Age: 25
Posts: 233
narendar is on a distinguished road
Default

HI joshholat,

I too implementing facebook connect in my application and I have created one template and published on the facebook , the created template is coming fine but I want to add a comment to the tempate so that It will come besided the Username on facebook.

for FeedDialog class It has :

dialog.templateBundleId ="";
dialog.templateData=""
dialog.bodyGeneral = ""
How can I add comment so that it will come beside the Name on feed story on facebook.

Have any Idea??

Thanks,
Narendar
narendar is offline   Reply With Quote
Old 05-09-2009, 07:52 AM   #4 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 79
joshholat is on a distinguished road
Default

Quote:
Originally Posted by narendar View Post
HI joshholat,

I too implementing facebook connect in my application and I have created one template and published on the facebook , the created template is coming fine but I want to add a comment to the tempate so that It will come besided the Username on facebook.

for FeedDialog class It has :

dialog.templateBundleId ="";
dialog.templateData=""
dialog.bodyGeneral = ""
How can I add comment so that it will come beside the Name on feed story on facebook.

Have any Idea??

Thanks,
Narendar
You need to sign up for a developer account with FaceBook and create the BundleID and Data on their website using their tools. Then, at the end, they simply give you numbers to place into those fields with custom data items you can set. It's kind of strange. Shoot me an email and I'll give you links and what not.
__________________
Josh Holat Software
Check out my software at http://www.joshholat.com/iphoneapps.php
joshholat is offline   Reply With Quote
Old 05-09-2009, 08:00 AM   #5 (permalink)
Registered Member
 
Join Date: Jul 2008
Location: Hyderabad,India
Age: 25
Posts: 233
narendar is on a distinguished road
Default

Thank you for ur response...

Just I have sent you a private message , please check it
narendar is offline   Reply With Quote
Old 07-07-2009, 03:33 PM   #6 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 5
maw22 is on a distinguished road
Default

Quote:
Originally Posted by joshholat View Post
Srry, issue fixed. Wrong file path. Stupid mistake.
Could you let me know what your stupid mistake was. I think I must be doing the same stupid thing.

Thanks
maw22 is offline   Reply With Quote
Old 07-07-2009, 03:48 PM   #7 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 79
joshholat is on a distinguished road
Default

Quote:
Originally Posted by maw22 View Post
Could you let me know what your stupid mistake was. I think I must be doing the same stupid thing.

Thanks
In the Library Search Path you have to place the correct path to the Facebook Connect API source files so that it can find them. Otherwise it will have no idea what to do with the required Facebook methods.
__________________
Josh Holat Software
Check out my software at http://www.joshholat.com/iphoneapps.php
joshholat is offline   Reply With Quote
Old 07-07-2009, 04:08 PM   #8 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 5
maw22 is on a distinguished road
Default

Quote:
Originally Posted by joshholat View Post
In the Library Search Path you have to place the correct path to the Facebook Connect API source files so that it can find them. Otherwise it will have no idea what to do with the required Facebook methods.
My Xcode project is in:
Developer/xcodeprojects/facestatus

FBConnect source is in:
Developer/xcodeprojects/facestatus/fbconnect/src

Library Search Path set to:
Developer/xcodeprojects/facestatus/fbconnect/src

Still doesn't work. What is my newbie error?

Thanks
maw22 is offline   Reply With Quote
Old 07-07-2009, 04:41 PM   #9 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 79
joshholat is on a distinguished road
Default

Quote:
Originally Posted by maw22 View Post
My Xcode project is in:
Developer/xcodeprojects/facestatus

FBConnect source is in:
Developer/xcodeprojects/facestatus/fbconnect/src

Library Search Path set to:
Developer/xcodeprojects/facestatus/fbconnect/src

Still doesn't work. What is my newbie error?

Thanks
Perhaps try adding a / in the beginning OR simply using /fbconnect/src since it is in the same directory as the XCode proj
__________________
Josh Holat Software
Check out my software at http://www.joshholat.com/iphoneapps.php
joshholat is offline   Reply With Quote
Old 07-07-2009, 05:19 PM   #10 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 5
maw22 is on a distinguished road
Default

Quote:
Originally Posted by joshholat View Post
Perhaps try adding a / in the beginning OR simply using /fbconnect/src since it is in the same directory as the XCode proj
Managed a successful build by changing all references in code e.g. from
#import "FBConnect/FBSession.h"
to
#import "FBSession.h"

Very incorrect but will figure out references and paths another time!

Thanks for your help
maw22 is offline   Reply With Quote
Old 07-07-2009, 08:38 PM   #11 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Atlanta
Posts: 411
funkytaco is on a distinguished road
Default

I loosely explain how to do this here. It took me all of five minutes.

mirando | iPhone application & web integration
funkytaco is offline   Reply With Quote
Old 01-11-2011, 11:43 PM   #12 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Melbourne, Australia
Posts: 54
greenflame is on a distinguished road
Default

Quote:
Originally Posted by maw22 View Post
Managed a successful build by changing all references in code e.g. from
#import "FBConnect/FBSession.h"
to
#import "FBSession.h"

Very incorrect but will figure out references and paths another time!

Thanks for your help
Did you figure out why this had to be done? I've had the same thing happen to me. Anyone?

Are we allowed to remove those "FBConnect/" references?
__________________
Easy Light - The simple, easy torch solution for the iPhone.
Track-a-tram - A dynamic tram timetable.
WeighIn - Track your daily calorie consumption as well as your daily weight.
greenflame is offline   Reply With Quote
Reply

Bookmarks

Tags
connect, facebook

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: 328
6 members and 322 guests
blueorb, guusleijsten, Kryckter, LEARN2MAKE, n00b, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,880
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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