Facebook Fanbox widget in iphone - iphone

can any one help me out for "Integration of Facebook Fanbox widget" into an iPhone how can i integrate facebook fanbox into my iphone application? any suggestion or help and code will be appreciated
i know about this link but how to integrate this for iPhone app that i don't know
https://developers.facebook.com/docs/plugins/like-box-for-pages/
Thanks in advance :)

Well, as you haven't provided a great deal of information about how you would like to achieve this, all I can suggest is going to the link you listed above and using the tool to generate the html code you need.
Then create a uiwebview on your viewcontroller and use
[webView loadHTMLString:html];
Where webview is the webview you added and html is an NSString with a value of the code facebook provided. Alternatively create a local html file that has the facebook code in it and load the file into the webview.

Related

Is there a way to make a Facebook share button in Flutter Web?

I'm making a quiz app in flutter and I'm nearly at the end of it, trying to make a facebook share button for them to be able to share their results in Facebook, and I can't find a way of making it work.
I couldn't find any pub that works on the web.
I tried to use the Facebook JS SDK but it gets too messy for my dart js knowledge, does anyone know a way to do this?
By now my best option is an embedded iframe and a static link... Is that right?
For anyone looking as desperate as I was there's a link in the button Facebook creates for you, if you populate the HTML with the right og tags and dynamically change the link and launch it with url_launcher you can get through it
My Plugin aims to help you with this:
https://pub.dev/packages/share_everywhere
It detects the platform and uses a list of social media icons you provide on a desktop.
And on mobile it uses standard share functionality.
Its a work in progress please let me know what you think and how i can improve.

Embedding Facebook page in to an ios app

Hello fellow members,
I am currently developing an app which needs to have a Facebook page embedded inside it I have looked at the Facebook SDK and cannot seem to find a way of doing this.
Any suggestions or thoughts on this would be really appreciated
Thanks
Tom
Put a UIWebView in there and load an NSURL inside of it, with the URL being the address of your page.

Implement the facebook connect on uiwebview using HTML5/JavaSCript for iphone sdk

I need to implement the facebook connent on UIWebview using HTML5/ Javascript. Presently what I implemented is working fine on iphone safari but not in native application. Please Suggest. Thanks
when the app loads up have it open a web view that point to a website that does what you want it to. see facebooks graph api documentation for web apps/websites
I'm working on this kind of app also. I haven't finished it yet but after googling I found just this link that seems to work with UIWebView
http://suhinini.me/2011/05/24/embedding-facebook-social-comments-plugin-to-an-ios-application/
I've tried the HTML5 code on the comment plugin page but it doesn't work. The UIWebView just shows nothing.
I'm still looking for the best solution.
edited
Ok now I got my app working. What I did was creating a HTML file, containing the code from facebook comment plugin page, and put it in my project (I think this should work fine with file on server also). I use this
[UIWebView loadHTMLString:baseURL:]
since my HTML file is local.
This is the facebook comment plugin page
https://developers.facebook.com/docs/reference/plugins/comments/

how can I get hyperlinks from a webpage iPhone sdk?

I want to get links of from a web page.. I have been successful in parsing the html now all i want are their links... do you have any idea as to how can i get those hyperlinks? any help would be appreciated....
thanks

Facebook iFrame app - How to use fbml/xfbml

I'm trying to use xfbml within my facebook app (iframe) but it somehow doesn't show up.
I copied this tag into one of the pages...
<fb:share-button href="http://apps.facebook.com/example" type="box_count"></fb:share-button>
..but as i said it doesn't show up.
Any idea how that works?
Thanks in advance!
Are you loading the Facebook Connect javascript libraries? fbml is not going to render without Facebook's javascript parsing it.
Try this tutorial (its German) but there are Code-Snippets:
http://www.my-digital-home.com/2010/06/09/facebook-xfbml-leicht-gemacht/
how and where we must load the Facebook Connect javascript libraries?