Launching Facebook and Twitter application from other iOS app - objective-c

Hey guys,
I am still continuing to build my iPhone project and I am having trouble with launching the facebook application. First of all, I am assuming every SDK Xcode developer knows that the Facebook application doesn't have the facebook or twitter app in the simulation. Since I have a facebook page and a twitter account about my company, I can't seem to test to launch my facebook page from the facebook application or my twitter page from the twitter application because they are not there in the iOS Simulator. So I was wondering how can I open my facebook and twitter page from the facebook and twitter application if they are not there? I don't want to use a Facebook or Twitter URL, then load it into a UIWebView, I want to open the Facebook and Twitter application to launch after the click of a button in my project, then the project will close and open either Facebook or Twitter application (the ones from the app store), so hopefully someone know how they can help me step by step or if they have a code that knows how to run the facebook or twitter application and sorry if my english is not clear enough, but hopefully you can help me or have a better solution to help solve my problem, thanks

I believe the facebook app listens to URI's like fb://, so I would suggest googling around for that.
Look here for example: http://wiki.akosma.com/IPhone_URL_Schemes#Facebook

Related

starting web app mobile integrating with facebook javascript sdk

I'm a novice in this topic, I've already have an app in Sencha, now I want to integrate facebook login, I'm studing this facebook tutorial https://developers.facebook.com/docs/guides/mobile/web/#register
but I can't understand what is the Mobile Web URL, because my app is in Sencha.
In the ST2 SDK, there is a folder called examples, fine the Jog With Friends app and you can see how to implement facebook

Bare bones Facebook integration demo app

So I just started looking into integrating FB into my app and whipped up this little test app. I wanted to have a bare bones app without all of the bs that's in the Hackbook demo app. Basically, it's overly complicated for what I want.
The problem is that something I'm doing isn't working. My app tries to authenticate with FB, but doesn't return auth tokens. Something else that I noticed is that...
If I have the facebook app installed... it switches to it, shows a white loading screen for a second, then dismisses it and pops back to my app.
If the facebook app isn't installed... it will open in safari and actually show the app approval window, let me login and then it pops back to my app.
Both ways fail with getting and storing the auth tokens however.
What the heck am I doing wrong? Would someone mind seeing if this code works for them?
Full source here: Deleted.
Thanks for looking.
It definitely sounds like you don't have your app registered in the Facebook developer portal.
https://developers.facebook.com/apps
Looks like Facebook just updated their SDK which now includes some simplified example apps. Much better than just hackbook.

Objective c Facebook

I am developing an application that posts in IOS Facebook wall.
I'm using SDK Facebook.
My problem is if I have installed Facebook on my iPhone, when I call the permissions, it calls the Facebook app.
If i uninstall the facebook app, the authorization opens inside my application.
There's a way to open inside my application even with the Facebook app installed?
This is really not recommended because it is less secure and more of a hassle for users. However it is still currently allowed for the time being. In the Facebook.m file, change authorizeWithFBAppAuth to NO and safariAuth to NO:
[self authorizeWithFBAppAuth:NO safariAuth:NO]

Confirmation app on iPhone URL Scheme

Hey developpers,
I need to ask a confirmation on the iPhone URL Scheme. Is the URL Scheme 'Tweetie' the Official Twitter application? I know in the website it said that there were Twitterriffic / Twitterriffic Premium, Twittelator Pro and Tweetie but for Tweetie, it's unsual to me the way it's said. It's like it's a built iPhone app (not the Official Twitter iPhone application), but after searching for Tweetie on the app store, it appears there is no such app called 'Tweetie', so I just need to know from someone if this is the Official Twitter app. So hope someone can help me out, thanks
Yep, that is the official Twitter app.

How to launch Facebook with Button

Hey friends
I created a button on my app called: "Find us on Facebook". Right now I ran into a situation where I need the button to launch the Facebook application. I could really use some help such as launching the facebook application, detecting if there is a facebook application, and all the sorts of stuff like that, thanks
Some googling shows that the facebook app apparently registers to receive urls with the fb:// scheme. So you can construct a fb:// url (like, say fb://notes or something) and then ask the UIApplication object if it can open the URL. If it says that it can, then open it.
there is a tutorial and sample app at https://github.com/facebook/facebook-ios-sdk
Basically you need to try to call fb://profile/yourpageid to load the FB app on your page.
The sample app shows you how to do this and fall back to loading in Safari if the app is not installed on the device.