Top Banner
Integrating Social Media
21

Social media and your website

Feb 21, 2017

Download

Education

Nicole Ryan
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Social media and your website

Integrating Social Media

Page 2: Social media and your website

Objectives

Evaluate social media

Add a Facebook Like button

Add a Twitter Tweet button

Embed a tweet

HTML 5 and CSS 3 – Illustrated Complete 2e 2

Page 3: Social media and your website

Objectives (continued)

Embed a YouTube video

Embed an Instagram image

Integrate a Twitter account feed

Add a Twitter hash tag feed

HTML 5 and CSS 3 – Illustrated Complete 2e 3

Page 4: Social media and your website

Evaluate Social media

Social media: websites and apps that provide users, customers, and community members with methods for sharing online content and integrating their own comments Can enhance your web presence by

enabling people to share info about your business or cause with friends and colleagues

HTML 5 and CSS 3 – Illustrated Complete 2e 4

Page 5: Social media and your website

Evaluate Social Media (continued)

Widget: prewritten HTML and/or JavaScript code that enables users to provide easy access to social content from a web page

Embedded: content displayed on a different site with formatting that matches host site includes links back to original post Twitter, YouTube, Instagram

HTML 5 and CSS 3 – Illustrated Complete 2e 5

Page 6: Social media and your website

Evaluate Social Media (continued)

feed: widget that shows a fixed number of recent posts to given social media account or posts that meet certain criteria Mostly used on smaller sites Can help keep content fresh

HTML 5 and CSS 3 – Illustrated Complete 2e 6

Page 7: Social media and your website

Add a Facebook Like Button

Facebook Like button is one of most commonly used widgets When visitor likes you, action is visible to

people in visitor's network

You specify URL to like, Facebook provides widget codescript element contains JavaScript separate div element contains widget

code

HTML 5 and CSS 3 – Illustrated Complete 2e 7

Page 8: Social media and your website

Add a Facebook Like Button (continued)

Facebook Like button displayed on web page:

HTML 5 and CSS 3 – Illustrated Complete 2e 8

Page 9: Social media and your website

Add a Twitter Tweet Button

Twitter Tweet buttonShortcut for a visitor to share link to current web page with their followersInserts a and script elements

HTML 5 and CSS 3 – Illustrated Complete 2e 9

Page 10: Social media and your website

Add a Twitter Tweet Button (continued)

Results of clicking Tweet button:

HTML 5 and CSS 3 – Illustrated Complete 2e 10

Page 11: Social media and your website

Embed a Tweet

Can embed social media content into your website Twitter lets you embed a tweet

Embedded tweet on a web page:

HTML 5 and CSS 3 – Illustrated Complete 2e 11

Page 12: Social media and your website

Embed a YouTube Video

YouTube is a dedicated video hostFacebook and Twitter also host video content directly

YouTube widget uses iframe element

Enables developers to embed content from another website while preserving formatting and presentation

HTML 5 and CSS 3 – Illustrated Complete 2e 12

Page 13: Social media and your website

Embed a YouTube Video (continued)

Embedded video displayed on a web page:

HTML 5 and CSS 3 – Illustrated Complete 2e 13

Page 14: Social media and your website

Embed an Instagram Image

Instagram is a dedicated image hostFacebook and Twitter also host image content directly

HTML 5 and CSS 3 – Illustrated Complete 2e 14

Page 15: Social media and your website

Embed an Instagram Image (continued)

Embedded Instagram image:

HTML 5 and CSS 3 – Illustrated Complete 2e 15

Page 16: Social media and your website

Integrate a Twitter Account Feed

Feed: regularly updated series of tweets Account feed shows tweets from specific

Twitter account

HTML 5 and CSS 3 – Illustrated Complete 2e 16

Page 17: Social media and your website

Integrate a Twitter Account Feed (continued)

Twitter account feed widget in a web page:

HTML 5 and CSS 3 – Illustrated Complete 2e 17

Page 18: Social media and your website

Add a Twitter Hash Tag Feed

Hash tags: Searchable codes that allow users to find posts on a given topic

Begins with hash symbol (#)

Hash tag feed useful for organizations promoting a hash tag related to their work

HTML 5 and CSS 3 – Illustrated Complete 2e 18

Page 19: Social media and your website

Add a Twitter Hash Tag Feed (continued)

Twitter has tag feed widget in a web page:

HTML 5 and CSS 3 – Illustrated Complete 2e 19

Page 20: Social media and your website

Summary

Social media provides users, customers, and community members with methods for sharing online content and integrating their own comments

When a visitor clicks a Facebook Like button, this action is visible to people in the visitor's network

HTML 5 and CSS 3 – Illustrated Complete 2e 20

Page 21: Social media and your website

Summary (continued)

A Twitter Tweet button is a shortcut for a visitor to share a link to current web page with their Twitter followers

You can use widgets to embed a Twitter tweet, a YouTube video, or an Instagram image

Twitter offers widgets to show account and hash tag feeds

HTML 5 and CSS 3 – Illustrated Complete 2e 21