How to share to Twitter, Facebook, Google, etc. from an iBook

I'm having a very hard time creating a page at the end of my book where readers can share a quick blurb and my web site on various social media like Twitter, Facebook, and Google+.
My first approach was trying the same version of the Tweet button, the Like button, and the +1 button that you would add to a web site. These *don't* work out of the box because an iBooks HTML widget will not load external JavaScript or anything in an iframe. Has this been everyone else's experience? Am I doing something wrong?
Then, I made a widget that submitted predefined text and URLs to Twitter, Facebook, and Google+ through query parameters (which most of the share buttons do themselves behind the scenes). However, the implementation works but with severe drawbacks. You can log in to Twitter and tweet something but then you can't share on Facebook or Google+ due to the way iBooks HTML widgets handle URLs. Instead of opening URLs in Mobile Safari, like a plain iBooks Author link somewhere in the book text, the widget opens it's own browser window without any UI, location bar, history, or anything. Worse yet, there doesn't seem to be any way to navigate back or reset the widget to the original URL (main.html in Dashcode terms). This means whatever page you end up at after sharing something to say, Twitter, is the page the widget will always open from now on. To refresh the widget and share via another social service, you have to force quit and reopen the iBooks app.
You can see my code and try it out here: https://github.com/avk/iBooks-Social-Widget
The most important files are main.html and js/script.js
The widget.openURL(...) method, which can open links in Safari from a Dashboard widget, doesn't seem to be supported in iBooks HTML widgets.
All this seems wrong and unnecessarily difficult. Any help or ideas would be greatly appreciated!

Unless both ipads were set up with the same Apple ID, there really isn't.
This does depend on the app however. I don't read iBooks, but there are some e-reader apps like Kindle that may allow you to 'loan' the book to someone else. Or, using an e-reader app, the book can be 'checked out' of a library that supports downloaded books. You have an account, 'borrow' the file, use an e-reader app to read it, and have a certain time frame in which to finish reading.

Similar Messages

  • Certain websites will load eg. Facebook, Google, etc. but others, eg. YouTube will not open. Why? And how can I fix this?

    Firstly, I downloaded the latest edition of Firefox. It then crashed several times in a row. This is when certain websites stopped responding and refused to open. I don't know what the criteria are for which websites open and which do not as I have no problems with sites such as Facebook, Google, etc. yet sites such as Youtube won't open.
    Also, If I search for something on Google, once it returns results, I cannot open certain websites from the links given to me by Google.
    Eg. if I search Google for Musicnotes.com, I can click the link and the page will open. But if I search for my university website, the page won't open.
    When I closed Firefox and went to reopen it, all I got was the "send error report" screen several times over. If I clicked "Close" or "Restart" Firefox, nothing would happen, it just returned me to the "send error report" screen. I then restarted Firefox in safemode as well as restarting it without add-ons. But I am having the same problems with opening websites.
    What can I do?

    Do a malware check with several malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How can i move my contacts, mails etc from gmail to icloud?

    How can I move my contacts, mails, etc from gmail account to icloud?

    The following has instructions: https://support.google.com/mail/answer/3008051?hl=en

  • How can I move Whatsapp or google   photos from the camera roll to a different folder

    How can I move Whatsapp or google   photos from the camera roll to a different folder

    How can I move Whatsapp or google photos from the camera roll to a different folder
    The only way to remove photos from the Camera roll is to delete them. You cannot move them directly from the Camera roll to another album.
    Sync the photos to your computer, remove them from iPhone and resync the photos to your iphone.
    See this -> iOS: Importing personal photos and videos from iOS devices to your computer

  • I would like to "get off the cloud".  How do I copy all my contacts, etc from where they are to "on my Mac"?

    I would like to "get off the cloud".  How do I copy all my contacts, etc from where they are on the cloud to "on my Mac"?

    Export the information to your Desktop. Stop syncing in iCloud, which should give you the 'On My Mac' option. Then import the information.

  • HT4972 How do I transfer purchased books, games, etc from the iPad to my PC?

    How do I transfer purchased boods, games, etc from my iPad to my PC?

    Connect it via USB, download the newest version of itunes,
    once the ipad shows in itunes go to: File>Transfer purchases from iPad
    You can also sync individual applications, books, games using itunes.

  • How do i transfer all photos, vids etc from my old i phone 3, to newly purchased 4

    How do I transfer phots's music,etc from old i phone 3, to a new i phone 4

    http://support.apple.com/kb/HT2109

  • How do you add a Facebook like button to an iBooks Author page?

    How can I add a Facebook Like Button to an iBooks Author page?
    I've got my book ready to go.
    I've got a facebook account to promote it.
    I just want to add a "Like" button on the iBooks page.
    regards
    iRevDr Bill Wall

    Hi KT,
    That was helpful, but I'm still having problems.
    I've plonked a Facebook logo on the page.
    BUT I can't seem to give it a hyperlink to my Facebook page.
    When I select the logo and then use the tool bars or the box thingy. It won't allow me to paste in the URL.
    It looks a bit ugly having a Facebook logo and the text of the URL beside it.
    Is there a way of making the Facebook logo have a hyperlink to its URL so you just click on the logo and it takes you to the facebook page.
    regards
    iRevDr

  • To All; Is there a way to "Permanently" delete "unwanted" material (books,etc) from an iBook library????  HELP

    To All; Is there a way to "Permanently" delete "unwanted" material (books,etc) from an iBook library????  HELP

    Most items purchsed with your Apple ID can't be permantently deleted from the purchase history. However you can hide them.

  • Popular request: How to Share articles via Facebook/twitter/eMail

    I wrote a comprehensive post on how to share your article via facebook, twitter or eMail or collect community comments right inside your folio. This is how I established an overlaying layer of comments and discussion in my DONE magazine.
    This is a bit complicated, has some problems, but is a popular request and might help you to enable more discussion about your content:
    Share Articles via Facebook, twitter or eMail
    http://tumblr.com/Z3N6zxDAlQsX
    I hope this covers all and is repeatable.
    —Johannes

    Hi Johannes,
    Thanks a lot, it is very helpful!
    I actually wouldn't be posting here if I wouldn't have a problem with it though.
    The thing is, I can't get it to work!
    So to clear things up here is my HTML code I'm trying to get working on an InDesign document (based on your HTML 5 template - Facebook like button code within the "body" tag):
    <!DOCTYPE html>
    <!--
              HTML5-1file-framework for use in Digital Publishing Suite from Adobe
              v0.2-110224 (Tested with drop9)
              http://digitalpublishing.tumblr.com
    -->
    <html laneg="en">
    <head>
    <!-- title not visible in the viewer unless viewed with a browser / popup -->
    <title>HTML5 Framework for DPS</title>
              <meta charset="utf-8" />
              <!--
                        meta viewport tag
                        this tag controls the rendering of the html on the devices. it might be handled differntly
                        between iOS/Android, so be carefull. this is a complete example tag. change for your needs or omit completly.
                        -Pagination of HTML stacks: omit completly or do not use user-scalable and target-densitydpi
                        -PinchZoom: use "Scale Content to Fit" in InDesign and use maximum-scale greater than 1.0, do not use user-scalable=no
              -->
              <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/>
              <!-- your document css -->
              <style type="text/css">
              /* basic css reset */
              body {
                        margin: 0;
                        padding: 0;
                        /* make WebOverlay transparent in InDesign: "Use Transparent Background" */
                        /* use following line for semi-transparent-background (fourth value is alpha value) */
                        /* background: rgba(50,150,250,0.5); */
              /* your css styles here */
              </style>
    </head>
    <body>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-like" data-href="http://www.website.com/" data-send="true" data-width="450" data-show-faces="true" data-font="tahoma"></div>
    </body>
    </html>
    What I do:
    I create an empty frame in my InDesign document.
    In  the overlay creator I tell it to be a Web Content.
    I select the HTML file containing above code.
    I update the article in the Folio Builder and test it on the iPad.
    The result is actually... nothing. The area in which the frame is, displays a small loading wheel and after that it's totally empty.
    What am I doing wrong??
    Thanks.

  • New beta features: share to Twitter, Facebook, & Pinterest

    We've added a few beta sharing features for you to try out.  Now, you can share to Facebook, Twitter, and Pinterest directly from theme details. We have created a special link to give you access to new features (new feature link)--without this link you won't be able to see the new features.  This link will allow you to use the site, same as before, but will also enable the new features that we're looking for feedback on. 
    To try this feature you will need to sign-in to the site.  Then, click on any color theme to view more details.  From here, click the "share" icon/link and you will see all the sharing options.  Select your preferred option and start sharing. 
    We'd love to hear how this is working for you.  We look forward to reading your feedback!
    PS- we released a new version of our iOS app last week which adds sharing to Facebook and allows you to share images in addition to your theme.  If you have not updated, go check it out.

    The features are now available for all kuler users.  We look forward to your feedback!

  • Cant download facebook, google, etc

    unable to download free applications like facebook, google etc

    i havent been able to download anything the past hour or so.. could be a network issue or something.

  • How can I transfer my playlists, ratings, etc. from one pc to another?

    After scouring the posts here for a couple of hours, I'm not sure I have the answer I need for my situation.
    I just purchased a 300 GB external HDD on which I have been extracting my CD collection. I want to share this drive between my main desktop pc, for everyday use, and my laptop, for entertaining.
    The problem is, while I can easily share the songs between my two computers, I can't seem to share the playlists, ratings, classifications, etc. that I so scrupulously work on.
    Is there a way of doing this?

    If you cannot see the ‘My Music’ folder within
    the
    TweakUI drop-down selection, proceed on to the
    following:
    1 On the start menu go to ‘Run’
    2 Type in RegEdit
    3 Navigate in RegEdit to
    HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVe
    rsion\Explorer\User Shell Folders
    4 Delete any entry for ‘My Music’
    Curiously, there is no entry for My Music in this
    panel. I don't know why. Maybe that's the problem?
    5 Navigate up the tree to
    HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVe
    rsion\Explorer\Shell Folders
    6 Make sure there is an entry for ‘My Music’ and
    is
    pointing to C:\Documents and
    Settings\[username]\My
    Documents\My Music (you can edit the value by
    double
    clicking it)
    7 Close RegEdit
    8 Reboot
    iTunes &/or TweakUI should now be able to find the
    folder.
    Don't know if it will work on Win2000. But it's
    the
    only thing I have in my 'bag-o-tricks'.
    Best of Luck
    I will try this perhaps tomorrow. I'm a little afraid
    of screwing it up. For now, the workaround seems to
    work. Thank you so much for your help. I'll try
    tomorrow and let you know if I succeed.
    Hi Buegi,
    This procedure didn't seem to work. I think the level of tinkering is a little beyond me. In any case, the workaround solution of copying the .itl and .xml library files and placing them in my laptop each time a change is made is an effective and fairly easy solution. It's only downfall is that it's not "automatic." However, this is a small inconvenience in exchange for the great benefit of transporting my customized library data between computers.
    So, I will consider this issue resolved.
    Many, many thanks.
    Espo

  • How do you get your photos, apps etc. from the iCloud after your iPhone 5 has been set up at the AT

    How do you your get your apps, photos, etc,  from iCloud after your iPhone 5 has been set up at the AT&amp;T store?

    http://support.apple.com/kb/HT4859

  • How do I transfer my music, photos etc from my old iPod touch to my new iPod touch?

    How do I transfer all data, including music, photos etc from my 4th generation iPod touch to my new 5th generation iPod touch?

    I use an app called Retro.
    It allows me to transfer between iDevices and also my computer,
    all wirelessly of course. Check it out, you might like it.

Maybe you are looking for

  • CS5 MPE - any benefit for SD editing?

    I do ONLY home video SD editing to create family DVD output... NO hi-def and no h.264 codecs Since the nVidia 285 card is about $400 and a good ATI card w/1Gig (to use with Photoshop) is about $100... does anyone know if the new MPE module in CS5 wil

  • The name of publisher not shown with iMixes?

    So if I published an iMix, then there would not be my name showing there in order to tell people that its me who put the list together. So why is it so? Or is the name somewhere but I just don't see it? I think that if the name was visible, then peop

  • Cross company sales processing

    Dear all Can i create automatic inbound delivery with reference to outbound delivery in the cross company sales processing scenario? the standard cycle is as follow : Sales order - delivery - customer billing document - internal billing document Can

  • Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD

    Hi!!!       I am facing a problem, when I run any application, I get the following error, *com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination

  • To switch on the Navigational attribute feature in the info object

    Hi there, I have a sceanario where I created an info-object to extract the KNKK table information. I am using the datasource 0fi_ar_9 to do flexible update to this info-object. The issue is that: I am adding the required infoobects as attributes to t