As of Flipboard for iOS 2.1, Flipboard supports the x-callback-url protocol for some actions.
You can use the scheme flip-api-v1 or flipboard-x-callback with action flip to launch the app and open our UI for flipping items into user magazines.
| import sys | |
| import subprocess | |
| import re | |
| import os | |
| import shutil | |
| if len(sys.argv) < 2: | |
| print "No path specified" | |
| sys.exit() | |
| Open Tweet in Tweetbot: | |
| javascript:var url = window.location;var tweetRegex = new RegExp('https?://(www.|mobile.)?twitter.com/.*/status/([0-9]{18})(/.*)?');var tweetIdentifier = url.match(tweetRegex)[2];window.location='tweetbot:///status/' + tweetIdentifier; |
| // This is a bookmarklet that launches Flipboard and allows you to save to one of your magazines | |
| // Note: We also have a dedicated web bookmarklet available at https://share.flipboard.com/ | |
| // Steps to install | |
| // 1. Open Safari and save any page to your bookmarks | |
| // 2. Edit the bookmark you made and paste in the following Javascript in the URL field | |
| javascript:var url=encodeURIComponent(window.location);window.location='flip-api-v1://x-callback-url/flip?url='+url+'&x-success='+url+'&x-cancel='+url+'&x-error='+url; | |
| // Here's a video of how it's done https://www.dropbox.com/s/lhfcxk2jcvkr5eq/flipboard-native-bookmarklet.mov |
As of Flipboard for iOS 2.1, Flipboard supports the x-callback-url protocol for some actions.
You can use the scheme flip-api-v1 or flipboard-x-callback with action flip to launch the app and open our UI for flipping items into user magazines.