Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University

Slides:



Advertisements
Similar presentations
D4.3 Additional Applications iPad Application – Facebook Integration George Chrysochoidis i-sieve technologies ltd. PATHS Project Review, 12th March 2014,
Advertisements

Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Facebook Applications Teppo Räisänen. Facebook Applications Facebook provides many Software Development Kits (SDK’s) – PHP SDK – iOS SDK – Android SDK.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Hints for HW#8. HW#6 Architecture Result of Query GOOG Browser with web page PHP Script client Apache web server finance.yahoo.com Send query with arguments.
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
1 CMSC 628: Introduction to Mobile Computing Nilanjan Banerjee Introduction to Mobile Computing University of Maryland Baltimore County
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
BUILDING A FACEBOOK APP. STEP 1 Create a Developers License. Make sure to take note/record the app id/key.
JavaScript & jQuery the missing manual Chapter 11
Version 1.0 Requirements.  PROstructor ◦ PROstructor is a community and service to finding, scheduling and paying professional for private, group lessons.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Default (tab) failfix.html. Only need to code the red box section. When we put into our server, it will call out our standard header and footer as last.
HOW-TO: Driving Traffic with Twitter Cards & Analytics 9 types of Twitter Cards to install on your site and how to measure ROI for subscription sales.
DUE Introduction to the Android Platform Working Connections 2011.
1 Tradedoubler & Mobile Mobile web & app tracking technical overview.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Mobile Device Programming
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Facebook api version 2.0 소스 패치 안내 가비아 C&S
CSC 440/540 Team 5 MOBILE SMIL IN THE CLOUD. INTRODUCTION Team 5 TED LANDIS.
BIT 285: ( Web) Application Programming Lecture 15: Tuesday, February 24, 2015 Microsoft Azure Instructor: Craig Duckett.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
 Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
WordPress for Beginners February 2, 2014 Facebook.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Virtual techdays INDIA │ November 2010 Integrating Social Networks with ASP.NET Krishna Chaitanya T │ Future Web Research Lab, SETLabs, Infosys WE.
Mobile Application Development Kevin Payne & Andi Saputra JWH Group.
Course Program, Evaluation, Exams Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
(Part 2). From Part 1 We …  Signed up to be facebook developers Verified our facebook account. Added facebook developer app.  Setup a Heroku facebook.
QML and JavaScript for Native App Development Michael Tims Jen Trieu.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Development of Internet Application Web API Ing. Jan Janoušek 9.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
Introduction to Xamarin C# Everywhere
Social Media Apps Programming
Social Media Apps Programming
Apache Cordova Overview
Application with Cross-Platform GUI
Social Networks Integration in Android
Social Media Apps Programming
Task Management System (TMS)
Power your app with Live services
Mobile App Development
Apps XD.
ORIENTATION TO CANVAS.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
MIS JavaScript and API Workshop (Part 3)
Office 365 Development.
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Presentation transcript:

Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University Tamkang University SMAP12 TLMXM1A (8687) (M2143) (Fall 2015) (MIS MBA) (2 Credits, Elective) [Full English Course] Wed 9,10 (16:10-18:00) B310 Facebook API (Facebook JavaScript SDK) (Integrate Facebook with iOS/Android Apps)

Course Schedule (1/3) Week Date Subject/Topics /09/16 Course Orientation and Introduction to Social Media and Mobile Apps Programming /09/23 Introduction to Android / iOS Apps Programming /09/30 Developing Android Native Apps with Java (Android Studio) (MIT App Inventor) /10/07 Developing iPhone / iPad Native Apps with Swift (XCode) /10/14 Mobile Apps using HTML5/CSS3/JavaScript /10/21 jQuery Mobile 2

Course Schedule (2/3) Week Date Subject/Topics /10/28 Create Hybrid Apps with Phonegap /11/04 jQuery Mobile/Phonegap /11/11 jQuery Mobile/Phonegap /11/18 Midterm Exam Week (Midterm Project Report) /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/02 Case Study on Social Media Apps Programming and Marketing in Google Play and App Store 3

Course Schedule (3/3) Week Date Subject/Topics /12/09 Google Cloud Platform /12/16 Google App Engine and Google Map API /12/23 Facebook API (Facebook JavaScript SDK) (Integrate Facebook with iOS/Android Apps) /12/30 Twitter API /01/06 Final Project Presentation /01/13 Final Exam Week (Final Project Presentation) 4

Outline Facebook API – Facebook JavaScript SDK – Integrate Facebook with iOS/Android Apps – Facebook Login – Facebook Open Graph API – Facebook Graph API 5

6 Facebook Developers

Facebook Graph API v2.x and the new Facebook Login 7

Facebook Platform Upgrade (v2.x) 8

Facebook Developers 9

Integrate Facebook with your native iOS apps 10

11 Facebook SDK for iOS

Integrate Facebook with your native Android apps. 12

13 Facebook SDK for Android

Integrate Facebook with your Web Apps 14

15 Facebook for Web Developers

16 Facebook for Web Developers

17 Facebook for Web Developers

18 Facebook for Web Developers

Adding social features with Plugins 19 Like Button Comments Box

The new Facebook Login 20

21 The new Facebook Login (April 30, 2015)

22 Facebook Login

Facebook Login for JavaScript 23

24 Facebook Login for JavaScript

25 Facebook Login for JavaScript 1/3

26 Facebook Login for JavaScript 2/3

27 Facebook Login for JavaScript 3/3

28 Facebook Login for JavaScript

Demo: Facebook Apps Create New App 29

30 Facebook Apps: Create New App Apps

31 Facebook Apps: Create New App

32 Facebook Apps: Create New App

33 Facebook Apps: Create New App

34 Facebook Apps: Create New App

35 iMyday App ID: App Secret: c64d6b231b7c22003b8ddc25a99e20ec(reset) Facebook Apps: Create New App

36 Facebook Apps: Create New App

37 Facebook.html Facebook Login appID

Facebook Login appID 38 window.fbAsyncInit = function() { FB.init({ appId : ' ', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML });

39 Facebook Login

40 Facebook Login

Test Facebook Login on jsbin.com 41

42 Test Facbook Login on jsbin.com Select how your app integrates with Facebook

Facebook SDK for JavaScript 43

44 Facebook SDK for JavaScript

45 Facebook SDK for JavaScript

46 Facebook SDK for JavaScript

47 window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : 'YOUR_APP_ID', // App ID from the app dashboard status : true, // Check Facebook Login status xfbml : true // Look for social plugins on the page }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK asynchronously (function(){ // If we've already installed the SDK, we're done if (document.getElementById('facebook-jssdk')) {return;} // Get the first script element, which we'll use to find the parent node var firstScriptElement = document.getElementsByTagName('script')[0]; // Create a new script element and set its id var facebookJS = document.createElement('script'); facebookJS.id = 'facebook-jssdk'; // Set the new script's source to the source of the Facebook JS SDK facebookJS.src = '//connect.facebook.net/en_US/all.js'; // Insert the Facebook JS SDK into the DOM firstScriptElement.parentNode.insertBefore(facebookJS, firstScriptElement); }()); Facebook SDK for JavaScript

48

49 window.fbAsyncInit = function() { FB.init({ appId : ' ', xfbml : true, version : 'v2.2' }); }; (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/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));

50

Facebook for Mobile 51

52 Facebook for Mobile

53 Facebook for Mobile

Facebook Like Button 54 Let people share pages and content from your site back to their Facebook profile with one click, so all their friends can read them.

55 Facebook Like Button

56 Facebook Like Button

57 (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/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); Facebook Like Button

58 Facebook Share Button

59 Facebook Share Button

Facebook Open Graph API 60

Open Graph Overview 61

Getting Started with Open Graph 62

63 Step 1: Create a Facebook App

64 Step 2: Set Up the App 1/3

65 Step 2: Set Up the App 2/3

66 Step 2: Set Up the App 3/3

67 Step 3: Publish a Story

68 Step 3: Publish a Story

69 Step 4: Submit Your Actions For Review

Open Graph 70

Facebook Open Graph API A Facebook API to share information – From your app – To Facebook Ex – Pinterest 71 Source:

Facebook APIs 72

Facebook Graph API 73

74 Quickstart for Graph API

Getting Started with the Graph API 75

76 How the Graph API is structured

Load the Graph API Explorer 77

Facebook Graph API Explorer 78

Facebook Graph API Explorer /me 79

80 Facebook Graph API Explorer /me

81 Facebook Graph API Explorer /me

82 Facebook Graph API Explorer /me

83 Facebook Graph API Explorer /me

84 Facebook Graph API Explorer /me

85 Facebook Graph API Explorer /me/friends

86 Facebook Graph API Explorer Publish actions

87 Facebook Graph API Explorer Post Message

88 Facebook Graph API Explorer Post Message

89

90 { "id": "4", "first_name": "Mark", "gender": "male", "last_name": "Zuckerberg", "link": " "locale": "en_US", "name": "Mark Zuckerberg", "username": "zuck" } Facebook API (JSON)

91

JavaScript vs. JSON JSON – JavaScript Object Notation Format for sharing data Derived from JavaScript Language independent An alternative to XML 92 Source:

JSON Advantages – Easy to read – Easy to write – Easy to Parse Var info = JSON.parse(data); Info.name Info.position Info.courses[i] – Learner than XML – Growing support in APIs (i.e., Facebook, Twitter) – Natural format for JavaScript – Implementation in many languages 93 Source:

JSON { “name”:“Min-Yuh Day” “position”:“Assistant Professor” “courses”:[ “Social Media Apps Programming” “Social Media Marketing” “Data Mining” ] } 94 var info = JSON.parse(data); info.name info.position info.courses[i] Source:

Summary Facebook API – Facebook JavaScript SDK – Integrate Facebook with iOS/Android Apps – Facebook Login – Facebook Open Graph API – Facebook Graph API 95

References Facebook Developers, 96