Intro to Web Apis: Flickr/Tumblr/Facebook

Total Page:16

File Type:pdf, Size:1020Kb

Intro to Web Apis: Flickr/Tumblr/Facebook Intro to Web APIs: Flickr/Tumblr/Facebook Molly Des Jardin Japanese Studies Librarian What is an API? • “Application Programming Interface” • A way to interact with other applications • Standardized “interface” • You don’t need to know how it works behind the scenes, just how to make it work for your application • UI (user interface) for computers, like a GUI for humans Examples of APIs • Web Services • Programming Languages – Flickr • Java (used by Android) – Tumblr – Twitter – Facebook • Operating Systems – Photobucket • Windows – Google • OS X and iOS (Cocoa) – Yahoo! Web APIs/Web Services • A way to access the databases running various websites • Build a complex URL and type it into your browser, or run from a program/script • Returns data from the database usually in XML or JSON format • May require an API key or OAuth key • Examples today: Flickr, Tumblr, Facebook OAuth • What is OAuth? – A way to log you in and authenticate your account without your giving away your actual password – Ex: How you register for other websites using your Facebook or Google login API Keys • What is an API key? – API keys are used to track and control how the API is being used – Identifies who is calling the API, unique identifier AND secret token – Has a set of access rights • Can let you log in to post to your account, etc. • Not all APIs require keys Flickr Web API • Requires API key (freely apply on website) • Some functions require Flickr authentication (user login) • Extensive documentation • App Garden • You can try it out online! https://www.flickr.com/services/api/ Components: https://api.flickr.com/services/rest/?method= • flickr.groups.members.getList (the method) • & (goes between arguments) • api_key= (your API key) • group_id= (the group’s ID number) • format=json (format of data returned is JSON) Tumblr Web API • Needs OAuth key to get API key • Returns data in JSON format • Start your URL with http://api.tumblr.com/v2/ • Then attach your methods and arguments Getting Photo Posts Tumblr API Console Test out your calls and see live examples of using official clients with the API console: http://api.tumblr.com/console Register With Tumblr Facebook Graph API • What can you do? Just about everything. • Plugins and app connections: – Use like button on other websites – Post Facebook comments on news sites and blogs – Share to your Facebook feed from another website – Access a page’s events – Use your Facebook photos and info on other apps • This is how Tinder works – Update your Facebook feed from other apps • This is how Instagram and Twitter can post to your feed https://developers.facebook.com/tools/explorer/ Using Clients • You can also use many APIs via various programming languages • Use it directly in the language instead of calling a URL; simpler and more readable • Ex: Python, Java, Ruby, PHP • Can make it easier to write an application • Often not developed by the website Tumblr’s Python Client Tumblr’s Python Client Try It Out! • Create a username for Tumblr and/or Flickr • Get an OAuth key for Tumblr or a Facebook user access token • Get API keys for Tumblr and/or Flickr • Try some sample commands in the Tumblr console, Facebook Graph Explorer, or Flickr • Flickr doesn’t require any keys or tokens • Build a URL and see what you get back Try It Out! https://www.flickr.com/services/api/ https://developers.facebook.com/ tools/explorer/ https://api.tumblr.com/console.
Recommended publications
  • Stephanie Vie and Danny Seigler • Define Social Media & Online Community
    Stephanie Vie and Danny Seigler • Define social media & online community • Discuss benefits & considerations • Demonstrate how social media creates community within and outside of the classroom • Information & communication technologies (Nam, 2012) • Empowers students (Bryer & Seigler, 2012) • Users connect to information, join online public communities, and collaborate to create solutions and deliverables (Lee & Kwak, 2012) Community: • People who have a shared connection • Neighborhood, UCF, Political Party Considerations: • People who have a shared connection online Why Twitter for your classroom? • Students can share resources with you and classmates • Twitter feeds = repositories of historical information • Quick to set up, easy to use, free • Benefits of closed access or wide audience (or both) “Twitter icon 9a” by marek.sotak (Flickr Creative Commons) • Both you and students sign up at https://twitter.com/signup • Choose username (Twitter “handle”) wisely • You can change it later though • This is your @username: @digirhet is me • Create a bio (up to 160 characters) • Write your first tweet! • Up to 140 characters • Can include photos, links, videos “Emerging Media - Twitter Bird” by mkhmarketing (Flickr Creative Commons) • Followers see all of your tweets • When you follow someone, you’re subscribing to their Twitter feed—you’ll see their tweets • Followers can send you direct messages • Privacy settings affect followers: • “Only followers you approve can see your protected Tweets and your Tweets will not appear in search engines”
    [Show full text]
  • The Dynamic Features of Delicious, Flickr and Youtub
    The Dynamic Features of Delicious, Flickr and YouTub Nan Lin1, Daifeng Li2, Ying Ding3, Bing He3, Zheng Qin2 , Jie Tang4, Juanzi Li4,Tianxi Dong5 1School of International Business Administration, 3School of Library and Information Science Shanghai University of Finance and Economics Indiana University, Bloomington, IN, USA Shanghai, China {dingying, binghe} @Indiana.edu [email protected] 4Department of Computer Science and Technology, 2 School of Information Management and Engineering, Tsinghua University, Beijing, China, Shanghai University of Finance and Economics [email protected] Shanghai, China 5Rawls College of Business, [email protected] Texas Tech University, TX, USA. [email protected] [email protected] Abstract – This article investigates the dynamic features of social tagging vocabularies in Delicious, Flickr and YouTube from 2003 to 2008. Three algorithms are designed to study the macro and micro tag growth as well as dynamics of taggers’ activities respectively. Moreover, we propose a Tagger Tag Resource LDA (TTR-LDA) model to explore the evolution of topics emerging from those social vocabularies. Our results show that (1) at the macro level, tag growth in all the three tagging systems obeys power-law distribution with exponents lower than one; at the micro level, the tag growth of popular resources in all three tagging systems follows a similar power-law distribution; (2) the exponents of tag growth vary in different evolving stages of resources; (3) the growth of number of taggers associated with different popular resources presents a feature of convergence over time; (4) the active level of taggers has a positive correlation with the macro-tag growth of different tagging systems; and (5) some topics evolve into several sub-topics over time, while others experience relatively stable stages in which their contents do not change much, and certain groups of taggers continue their interests in them.
    [Show full text]
  • MFC-J825dw Color Inkjet Multi-Function Center ®
    MFC-J825dw Color Inkjet Multi-Function Center ® Print • Copy • Scan • Fax BRO4983-MFCj825dwCatPg-082211 Compact Inkjet All-in-One with 3.3" Web Connect TouchScreen Interface Print from your Brother™ MFC-J825dw Compact Inkjet All-in-One with 3.3" mobile device. Visit www.brother.com Web Connect TouchScreen Interface for more details The MFC-J825dw is a great addition to any small or home office. The Web Connect TouchScreen interface allows for easy access to your FACEBOOK™, PICASA Web Albums™, FLICKR®, GOOGLE DOCS™ and Evernote® accounts. You can also print directly on to your printable CD/DVDs/Blu-ray™ discs without hassle. Technical Specifications Key Features at a Glance: • Easy-to-setup wireless (802.11b/g/n) or wired Ethernet networking MFC-J825dw • 3.3" TouchScreen color LCD display for interactive and Printing Method Color Inkjet easy-to-use menu navigation Display Type 3.3" TouchScreen Color LCD Display • Create two-sided documents and save paper with duplex printing Web Connect Interface† Yes General • Unattended fax, copy or scan using up to 20-page ADF Max. Document Glass Size 8.5" x 11.7" Auto Document Feeder (max. capacity / paper size) up to 20 sheets / legal • Fast print speeds up to 35ppm black, 27ppm color (fast mode) CD / DVD / Blu-ray Disc™ Printing Yes and 12ppm black, 10ppm color (ISO standard)* ® ™ ® Max. Print Speed black / color • Access your FACEBOOK , PICASA Web Albums , FLICKR 35 / 27ppm, 12 / 10ppm (Fast Mode, ISO Standard)* ™ ® and GOOGLE DOCS and Evernote accounts via the ▼ Max. Print Resolution (dpi) 6000 x 1200 † Web Connect TouchScreen Interface Print Auto Duplex Printing Yes (up to 8.5" x 11") ™ Borderless Printing Yes • Print directly on to your printable DVDs, CDs and Blu-ray discs ™ Ink Save Mode± Yes • Brother iPrint&Scan free app download for wireless printing ™ ® Standalone Fax Capabilities Color & B/W from and scanning to your Apple, Android or Windows Fax Compatibility ITU-T Group Super G3 Phone 7 mobile device+ Max.
    [Show full text]
  • What to Do If Phones Fill up with Photos 13 May 2015, Byanick Jesdanun
    Review: What to do if phones fill up with photos 13 May 2015, byAnick Jesdanun With Flickr's app for iPhones, iPads and Android devices, old and new images alike are automatically copied to your online account, so you can delete the original files from your phone. You'll still be able to edit and share images through Flickr's app, and you can retrieve the originals anytime. Meanwhile, Flickr's software for Mac and Windows computers will continually scan and upload images, including ones you add later. Regardless of the source, all photos and videos are viewable in one collection through a Web browser or Flickr's mobile app. The newest images are on In this Dec. 7 2014 file photo, Houston Texans fan Erick top, but you can use Flickr's smart sorting tools Salgado takes a photo with his cell phone of his brother under its "Magic View." Software analyzes and Andres Salgado, left, and his cousin Victor Ticas, right, categorizes images based on what's in them, such before the start of an NFL football game against the as food and flowers. A search tool lets you filter by Jacksonville Jaguars, in Jacksonville, Fla. Yahoo's Flickr such attributes as colors in the picture and the and Apple's iCloud Photo Library will automatically image's orientation. transfer photos and videos to your online account, so you get a backup and more space on your device. (AP Photo/Stephen B. Morton, File) To free up space, you need to delete files from your phone after getting them to Flickr, which means keeping track of which ones have already been transferred.
    [Show full text]
  • Social Media Instagram Info CHAPMAN UNIVERSITY STRATEGIC MARKETING & COMMUNICATIONS Use Your Page
    social media Instagram Info CHAPMAN UNIVERSITY STRATEGIC MARKETING & COMMUNICATIONS Use Your Page. GET TO KNOW INSTAGRAM HELP CENTER Post Chapman University photos. Instagram is a free smart phone application (owned by Facebook) where brands can post photos and add captions. Post photos to your Instagram account and share those photos to Facebook, Twitter, Tumblr, Flickr, and other photo feeds. Make photos fun and interesting with filters and editing features included within the app. Use photos and visual to assist your ‘story.’ Select a profile image that best represents INSTAGRAM HELP CENTER your department or college. Types of Functions. 1. Posting photos: Choose an existing photo from your phone and upload it to Instagram or take a photo from within the app itself. 2. Filters: Select filters to make photos interesting. Filters will adjust lighting and boards among others. INSTAGRAM BASICS 3. Captions: Add a caption to your phone. Captions cam include hashtags like Twitter. 4. Share: Users can share their photos from Instagram to other social media platforms like Facebook, Twitter, Tumblr, Flickr, Foursquare, and Email. What Makes It Different? Users can Like and Comment, add hashtags, and tag other users similiarly to Pinterest and Twitter; however, Instagram’s photo-specific nature is universal across most social INSTAGRAM FOR BUSINESSES: media platforms. Users may share the photo to the Instagram community exclusively GETTING STARTED & EXAMPLES or share them to their other social networking platforms. Naming and Disclaimers. Your Instagram Business Account is an external-facing representation of Chapman University.Your page’s name should include Chapman University for branding and identification purposes.
    [Show full text]
  • Analysis of Flickr, Snapchat, and Twitter Use for the Modeling of Visitor Activity in Florida State Parks
    Analysis of Flickr, Snapchat, and Twitter use for the modeling of visitor activity in Florida State Parks Hartwig Hochmair Levente Juhász University of Florida Florida International University 3205 College Ave 11200 SW 8th Street Davie, FL, USA Miami, FL, USA [email protected] [email protected] Abstract Spatio-temporal information attached to social media posts allows analysts to study human activity and travel behavior. This study analyzes contribution patterns to the Flickr, Snapchat, and Twitter platforms in over 100 state parks in Central and Northern Florida. The first part of the study correlates monthly visitor count data with the number of Flickr images, snaps, or tweets, contributed within the park areas. It provides insight into the suitability of these different social media platforms to be used as a proxy for the prediction of visitor numbers in state parks. The second part of the study analyzes the spatial distribution of social media contributions within state parks relative to different types of points of interest that are present in a state park. It examines and compares the location preferences between users from the three different platforms and therefore can draw a picture about the topical focus of each platform. Keywords: social media, Flickr, Twitter, Snapchat, points of interest. 1 Introduction 1. It computes the Pearson correlation between state park visitor numbers and the number of Flickr images, snaps, Data from social media and photo sharing Websites, and geo-tagged tweets posted in these parks. including Twitter, Foursquare Swarm, Flickr, and Panoramio, 2. It compares the spatial distribution of posts on Flickr, have been widely used for the study of human mobility Snapchat, and Twitter within state parks around different (Alivand and Hochmair 2013; Hawelka et al.
    [Show full text]
  • Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: Facebook • Display Homework for That Week
    Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.facebook.com Facebook • Display homework for that week. • Display future tests & quizzes. • Display delays & closings Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.youtube.com Youtube • Watch & learn about school criteria • Receive directions about an upcoming project. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.twitter.com Twitter • Talk to professors across the country. • Discuss problems over the internet. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.flickr.com Flickr • Post examples of projects due. • Educational pictures showed in class. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.blogger.com Blogger • Post homework assignments for classes. • Educational sites can be posted. • Post future quizzes & tests. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.wikipedia.com Wikipedia • Can be used for research. • Review discussions in class. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog URL: http://www.google-blog.com/ Google Blog • Post homework assignments for classes. • Educational sites can be posted. • Post future quizzes & tests. Favorites Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog Are You Sure You Want To Close If So CLICK ME!!! Favorites Windows is Shutting Down . Facebook Youtube Twitter Flickr Blogger Wikipedia Google Blog.
    [Show full text]
  • Product Guide Product Guide
    Trend Micro™ Titanium™ Security 2014 Product Guide Product Guide Titanium Antivirus+ Titanium Internet Security Titanium Maximum Security Titanium Premium Security Trend Micro, Inc. 10101 N. De Anza Blvd. Cupertino, CA 95014 T 800.228.5651 / 408.257.1500 F 408.257.2003 www.trendmicro.com H Trend Micro™ Titanium Security™ 2014 – Product Guide GL v1.4 Trend Micro Incorporated reserves the right to make changes to this document and to the product described herein without notice. Before implementing the product, please review the readme file and the latest version of the applicable user documentation. Trend Micro, the Trend Micro t-ball logo, and Titanium are trademarks or registered trademarks of Trend Micro Incorporated. All other product or company names may be trademarks or registered trademarks of their owners. Copyright © 2013 Trend Micro Inc., Consumer Technical Product Marketing. All rights reserved. Trend Micro™ Titanium Security™ 2014 - Product Guide provides help for analysts, reviewers, and customers who are evaluating, reviewing, or using Trend Micro™ Titanium Security™ Antivirus+ Security; Trend Micro™ Titanium Security™ Internet Security; Trend Micro™ Titanium Security™ Maximum Security; or Trend Micro™ Titanium Security™ Premium Security. This Product Guide can be read in conjunction with the following documents, available at http://esupport.trendmicro.com/en-us/home/pages/technical-support.aspx. Product Guides Trend Micro™ Titanium Security™ Internet Security for Mac 2014 - Product Guide Trend Micro™ Mobile Security 3.0 - Product Guide Trend Micro™ DirectPass™ 1.8 - Product Guide Trend Micro™ Online Guardian for Families 1.5 - Product Guide Trend Micro™ SafeSync™ for Consumer 5.1 - Product Guide Trend Micro™ SafeSync™ for Business 5.1 – Product Guide At Trend Micro, we are always seeking to improve our documentation.
    [Show full text]
  • Designing Across Mobile Platforms & Screens
    Designing across mobile platforms & screens UC Berkeley iSchool 08.28.2012 Flickr photo from LukeW “Convergence is what enables experiences to shapeshift between different devices and environments. Instead of a user interacting with his mobile device as one isolated experience and then interacting with another device (such as a personal computer) as a totally iPhone (960 x 640) separate, isolated experience, convergence allowsGalaxy these (1280 x 720) Lumia (480 x 800) experiences to be connected and have continuity.” “What is Convergence?” From Rachel Hinman’s “The Mobile Frontier” Lecture plan Mobile Devices & OS Multi-Screen Patterns (Tech) Solutions web site? native app? web app? hybrid? DMEX: Info 290 Copyright © Suzanne Ginsburg 3 Mobile Devices & Operating Systems DMEX: Info 290 Copyright © Suzanne Ginsburg 4 Flickr photo from LukeW 7” 10” Nexus 7 (1280 x 800) ~4” Kindle Fire (1024 x 600) iPad 2 (2048 x 1536) iPhone (960 x 640) iPad mini coming soon? Galaxy (1280 x 720) Lumia (480 x 800) Common display sizes & their resolutions What’s inside: features that impact the UX DMEX: Info 290 Copyright © Suzanne Ginsburg 6 Common features that impact the UX (look up in tech specs) Flickr photo from LukeW Feature What it does Example app or feature Camera* Takes photos & often video. Too many to list! GPS Provides the phone’s location. Maps Accelerometer Detects the phone’s orientation. Determines when to switch from portrait to landscape view. iPhone (960 x 640) Magnetometer Detects the phone’s direction. Compass Galaxy (1280 x 720) Lumia (480 x 800) Gyroscope Detects 3-axis angular acceleration Gaming around the X, Y and Z axes.
    [Show full text]
  • Flickr Is Owned by Yahoo, So If
    HOW TO SET UP YOUR FLICKR ACCOUNT Go to www.flickr.com and click the “Sign up” button. Note: Flickr is owned by Yahoo, so if you already have a Yahoo account for any other service, you can just sign in with your old username and password on this page, and skip down to the ACCOUNT SETTINGS section of this document. The next page asks for your first and last name, and then asks you to create a Yahoo username. This can be anything you wish and Yahoo will tell you if the name you choose is already taken. (Later you’ll be creating a screen name that will show up on your Flickr page) Then create a password. The next box asks for a mobile number. If you don’t have a cell phone, use your home phone number. Yahoo will be either texting you or calling you with a verification code, so be sure to have your cell phone on, or be able to answer a phone call to your land line. Now complete the page by adding your birthdate and gender. The recovery number is optional, but is a good idea in case you loose your login information. Make sure you have your username and password written down some place safe. Click CREATE ACCOUNT The next page is where they will do the phone number verification. If you can receive text messages, have it send via SMS. Otherwise, choose the phone call option. Wait for the phone call or text message to come and record the verification code they give you in the box.
    [Show full text]
  • Like MNEA on Facebook Find MNEA Photos at Flickr.Com/Photos
    E-Connect with Like MNEA on facebook Download the Missouri NEA Check out MNEA’s Facebook page at Mobile App Today www.facebook.com/MissouriNEA. If you have a Facebook account already, just search Contact MNEA staff, for Missouri National Education Association. The sign up for training, MNEA Facebook page gives you opportunities to add events to your interact with fellow MNEA friends and keep current personal calendar, on association events and issues. Once you “like” contact your elected officials, read news MNEA, you can choose to get notifications and follow and publications, or the page. MNEA shares training opportunities, events, lookup the address photos, videos, articles and news. You can share and for a school using the comment on posts to take part in the discussion. Missouri NEA mobile app. Android and Apple versions are available for free download Find MNEA Photos at on your App store or go to Flickr.com/photos/mnea www.mnea.org/mobileapp. Only official MNEA Flickr friends have full access to the photo site. If you want to view or download photos from MNEA MNEA events, classroom visits and Read Across America activities, you will find them at MNEA’s Flickr site. Find Social Media MNEA at www.flickr.com/photos/mnea. To download Quick Links print quality photos, you must create your own free Flickr account and ask to be a friend of MNEA’s Flickr. Facebook Please include your name in the friend request. Once Facebook.com/MissouriNEA MNEA accepts you as a Flickr friend (and verifies your Flickr MNEA membership), sign in to access the entire collection of photos.
    [Show full text]
  • Ipad User Guide for Ios 7 (October 2013) Contents
    iPad User Guide For iOS 7 (October 2013) Contents 7 Chapter 1: iPad at a Glance 7 iPad Overview 9 Accessories 9 Multi-Touch screen 10 Sleep/Wake button 10 Home button 11 Volume buttons and the Side Switch 11 SIM card tray 12 Status icons 13 Chapter 2: Getting Started 13 Set up iPad 13 Connect to Wi-Fi 14 Apple ID 14 Set up mail and other accounts 14 Manage content on your iOS devices 15 iCloud 16 Connect iPad to your computer 17 Sync with iTunes 17 Your iPad name 17 Date and time 18 International settings 18 View this user guide on iPad 19 Chapter 3: Basics 19 Use apps 21 Customize iPad 23 Type text 26 Dictation 27 Search 28 Control Center 28 Alerts and Notiication Center 29 Sounds and silence 29 Do Not Disturb 30 AirDrop, iCloud, and other ways to share 30 Transfer iles 31 Personal Hotspot 31 AirPlay 32 AirPrint 32 Bluetooth devices 32 Restrictions 33 Privacy 2 33 Security 35 Charge and monitor the battery 36 Travel with iPad 37 Chapter 4: Siri 37 Use Siri 38 Tell Siri about yourself 38 Make corrections 38 Siri settings 39 Chapter 5: Messages 39 iMessage service 39 Send and receive messages 40 Manage conversations 41 Share photos, videos, and more 41 Messages settings 42 Chapter 6: Mail 42 Write messages 43 Get a sneak peek 43 Finish a message later 43 See important messages 44 Attachments 44 Work with multiple messages 45 See and save addresses 45 Print messages 45 Mail settings 46 Chapter 7: Safari 46 Safari at a glance 47 Search the web 47 Browse the web 48 Keep bookmarks 48 Share what you discover 49 Fill in forms 49 Avoid clutter
    [Show full text]