Download presentation
Presentation is loading. Please wait.
Published byAngelina Carter Modified over 9 years ago
1
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University http://mail.tku.edu.tw/myday Tamkang University 2015-12-30 1041SMAP13 TLMXM1A (8687) (M2143) (Fall 2015) (MIS MBA) (2 Credits, Elective) [Full English Course] Wed 9,10 (16:10-18:00) B310 Twitter API
2
Course Schedule (1/3) Week Date Subject/Topics 1 2015/09/16 Course Orientation and Introduction to Social Media and Mobile Apps Programming 2 2015/09/23 Introduction to Android / iOS Apps Programming 3 2015/09/30 Developing Android Native Apps with Java (Android Studio) (MIT App Inventor) 4 2015/10/07 Developing iPhone / iPad Native Apps with Swift (XCode) 5 2015/10/14 Mobile Apps using HTML5/CSS3/JavaScript 6 2015/10/21 jQuery Mobile 2
3
Course Schedule (2/3) Week Date Subject/Topics 7 2015/10/28 Create Hybrid Apps with Phonegap 8 2015/11/04 jQuery Mobile/Phonegap 9 2015/11/11 jQuery Mobile/Phonegap 10 2015/11/18 Midterm Exam Week (Midterm Project Report) 11 2015/11/25 Invited Talk: Business Intelligent and Analysis in PIXNET, the Dominant Blog Platform in Taiwan [Speaker: Dr. Rick Cheng-Yu Lu, CTO, PIXNET] 12 2015/12/02 Case Study on Social Media Apps Programming and Marketing in Google Play and App Store 3
4
Course Schedule (3/3) Week Date Subject/Topics 13 2015/12/09 Google Cloud Platform 14 2015/12/16 Google App Engine and Google Map API 15 2015/12/23 Facebook API (Facebook JavaScript SDK) (Integrate Facebook with iOS/Android Apps) 16 2015/12/30 Twitter API 17 2016/01/06 Final Project Presentation 18 2016/01/13 Final Exam Week (Final Project Presentation) 4
5
Outline Twitter Developers – Twitter Platform Objects Twitter for Websites Twitter Search API Twitter REST API Twitter Streaming API 5
6
Twitter 6 https://twitter.com/search?src=typd&q=Starbucks
7
7 http://www.youtube.com/watch?v=BGirUZq1WtQ What can your business do...in just 140 characters?
8
8 https://twitter.com/Starbucks Twitter
9
9 https://www.facebook.com/Starbucks Twitter
10
Facebook 10 https://www.facebook.com/Starbucks
11
Twitter vs. Facebook 11
12
Twitter Developers 12 https://dev.twitter.com/
13
Twitter Developers Documentation 13 https://dev.twitter.com/docs Documentation
14
A field guide to Twitter Platform objects 14 https://dev.twitter.com/docs/platform-objects
15
Tweets 15 Source: https://dev.twitter.com/docs/platform-objectshttps://dev.twitter.com/docs/platform-objects Tweets are the basic atomic building block of all things Twitter.
16
Users 16 Source: https://dev.twitter.com/docs/platform-objectshttps://dev.twitter.com/docs/platform-objects Users can be anyone or anything.
17
Entities 17 Source: https://dev.twitter.com/docs/platform-objectshttps://dev.twitter.com/docs/platform-objects Entities provide metadata and additional contextual information about content posted on Twitter.
18
Places 18 Source: https://dev.twitter.com/docs/platform-objectshttps://dev.twitter.com/docs/platform-objects Places are specific, named locations with corresponding geo coordinates.
19
Tweets 19 https://dev.twitter.com/docs/platform-objects/tweets
20
20 https://dev.twitter.com/docs/platform-objects/tweets Tweets
21
21 https://dev.twitter.com/docs/platform-objects/tweets Tweets
22
Users 22 https://dev.twitter.com/docs/platform-objects/users
23
23 https://dev.twitter.com/docs/platform-objects/users Users
24
Entities 24 https://dev.twitter.com/docs/platform-objects/entities
25
25 https://dev.twitter.com/docs/platform-objects/entities Entities
26
Places 26 https://dev.twitter.com/docs/platform-objects/places
27
27 https://dev.twitter.com/docs/platform-objects/places Places
28
Twitter for Websites 28 https://dev.twitter.com/docs/twitter-for-websites
29
Follow Button 29 https://dev.twitter.com/docs/follow-button
30
30 https://dev.twitter.com/docs/follow-button Follow Button
31
Twitter buttons 31 https://about.twitter.com/resources/buttons#follow
32
Follow @iMyday 32 Follow @iMyday !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location) ?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.i d=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
33
Test Twitter Button on jsbin.com 33
34
34 Follow @iMyday
35
Twitter Search API 35 https://dev.twitter.com/docs/using-search
36
Twitter REST API 36 https://dev.twitter.com/docs/api
37
Streaming API 37 https://dev.twitter.com/docs/streaming-apis
38
Twitter REST API 38 The REST API provides simple interfaces for most Twitter functionality. https://dev.twitter.com/docs
39
Twitter Streaming API 39 https://dev.twitter.com/docs The Streaming API is a family of powerful real-time APIs for Tweets and other social events.
40
40 https://dev.twitter.com/docs/streaming-apis Differences between Streaming and REST API Twitter REST API
41
41 https://dev.twitter.com/docs/streaming-apis Differences between Streaming and REST API Twitter Streaming API
42
Exploring the Twitter API 42 https://dev.twitter.com/console
43
Create a new app 43 https://dev.twitter.com/apps Apps
44
44 https://dev.twitter.com/apps/new Create a new app
45
45 https://dev.twitter.com/apps/new Create a new app
46
46 Create a new app
47
47 Create a new app
48
48 Consumer keylKHzfFM3ejM6O******** Consumer secret TMsvzTNuTNDrUnY7hb5ZIarXqZDnsKW*********** Request token URL https://api.twitter.com/oauth/request_token Authorize URLhttps://api.twitter.com/oauth/authorize Access token URL https://api.twitter.com/oauth/access_token Create a new app
49
Update Twitter’s App Settings 49
50
50 Update Twitter’s App Settings
51
51 Update Twitter’s App Settings
52
OAuth Settings Updated 52
53
Twitter REST API v1.1 Resources 53 https://dev.twitter.com/docs/api/1.1
54
GET search/tweets 54 https://dev.twitter.com/docs/api/1.1/get/search/tweets
55
55 https://dev.twitter.com/docs/api/1.1/get/search/tweets GET search/tweets
56
56 https://api.twitter.com/1.1/search/tweets.json?q=%23freebandnames&since_id=2401 2619984051000&max_id=250126199840518145&result_type=mixed&count=4 GET search/tweets https://dev.twitter.com/docs/api/1.1/get/search/tweets
57
OAuth Tool 57 https://dev.twitter.com/docs/api/1.1/get/search/tweets#oauth-tool
58
58 OAuth Tool https://dev.twitter.com/docs/api/1.1/get/search/tweets#oauth-tool Generate OAuth signature
59
59 OAuth Tool
60
60 OAuth Tool See OAuth signature for this request
61
61 OAuth Signing Results
62
Web Intents 62 https://dev.twitter.com/docs/intents
63
63 https://dev.twitter.com/docs/intents Web Intents
64
JavaScript Interfaces for Twitter for Websites 64 https://dev.twitter.com/docs/intents/events
65
65 JavaScript Interfaces for Twitter for Websites https://dev.twitter.com/docs/intents/events
66
Twitter API Getting Started 66 https://dev.twitter.com/start
67
67 Twitter REST API certificate updates https://dev.twitter.com/blog/rest-api-ssl-certificate-updates
68
68 https://dev.twitter.com/docs/security/using-ssl Connecting to Twitter API using SSL
69
69 Connecting to Twitter API using SSL https://dev.twitter.com/docs/security/using-ssl
70
70 Connecting to Twitter API using SSL https://dev.twitter.com/docs/security/using-ssl
71
71 Connecting to Twitter API using SSL https://dev.twitter.com/docs/security/using-ssl
72
72 Connecting to Twitter API using SSL https://dev.twitter.com/docs/security/using-ssl
73
Summary Twitter Developers – Twitter Platform Objects Twitter for Websites Twitter Search API Twitter REST API Twitter Streaming API 73
74
References Twitter Developers, https://dev.twitter.com/ https://dev.twitter.com/ 74
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.