how integrate facebook to iphone app - iphone

I would like to show a Like button in my app, what is the latest way of doing this?

Use the "LIKE" button code in an HTML document and load it into a UIWebView. Thats the easiest way.

Related

How to embed facebook (like button and like box) in an esternal flash page

I am creating my new website, I have a Facebook page and I would like to embed the facebook's like button and the facebook's like box directly in my actionscript... Is it possible?
In the case it is not possible, could I embed them in the html in a way I can see them over the swf?
Thank You Very Much,
Alessandro
I think you can't.
Alessandro,.. why are you making a website in flash?
ipads can't see it, iphone can't see it, and Android can't see it (unles you have firefox with custom installed flash player)
why don't you do it in html,css,jquery ??

facebook app send box problem

I am having a problem with facebook send box on my app. It is by default like the image bellow.
I want to view the box like the image bellow.
can you suggest me.
Thanks
Facebook API does not support it.You have to write custom CSS.

is it possible to "like" facebook fan page directly from iPhone app

is it possible to "like" facebook fan page directly from iPhone app using graph API?
There is no graph api method to have a user like a page (that would get abused). The only way would be to embed a Facebook like button inside a UIWebView.
The easiest way I have found is to use a UIWebView and either load the html portion of the LIKE code, or use an external .html document with the LIKE code. The only issues I have come across in this method is the user usually needs to login unless logged in from MobileSafari.

How to Implement FaceBook "Like-IT" Button in Iphone/Ipad?

I want to interigrate i like it button in my Iphone/ Ipad application please help me out?? with some steps and all the required things ????
Thanks a lot in advance...
Are you speaking of the "Like" button or the "i like it" stream post?
For the "Like" button, you need to create a UIWebView and then:
have a page hosted somewhere with your xfbml or iframe like button
or use NSBundle to inject HTML and javascript and then read it from a string
Either way - you will get a like button working.
For the stream publish, you need to use the iOS SDK to make a graph call to '/me/feed', 'post' etc... with your appropriate params and message.

Dialog Box for Login with Social Media Accounts

I have been looking for the ways to integrate facebook, twitter or email in my iphone App but I didn't find the way to do the dialog box which proposes these previous options...
Here is what I am looking to do
(source: fonearena.com)
It seems like an alert view but it sure isn't ... anyone knows how to do that ? (I guess it is a predefined object) ;)
It's a UIActionSheet.
Heres the Class Reference:
http://developer.apple.com/iphone/library/documentation/uikit/reference/UIActionSheet_Class/Reference/Reference.html
It is an UIActionSheet. If you are looking for Twitter code then look at my Twitter code for the iPhone. It was specifically designed for 'Share' functionality:
http://github.com/st3fan/iphone-twitter/