Netplus

Author Archive

How to get the Facebook ‘LIKE’ to do the heavy lifting

Jim DelPizzo Friday, January 21st, 2011

In an early Web Development News, Tips, and Tricks post I showed how to implement the Facebook ‘LIKE’ button. After I implemented this on a couple sites I started doing some more research to understand how my site could take full advantage of the ‘LIKE’ button.

There are a few steps you need to take to fully integrate the ‘LIKE’ button on your site. Facebook uses the Open Graph protocol, enabling you to expose content on your web pages to the social graph. Page selection is important when you consider adding ‘LIKE’ buttons – you should choose to add them to pages with something a person would actually like, e.g. a product, an event, a personal bio, etc.

Along with the ‘LIKE’ button you’ll need to add some “og” meta tags. These “og” meta tags will help you specify structured information about your web pages. The more information you provide in the “og” meta tags, the better your chances are that your page will show up on Facebook.

So let’s look at the example Facebook gives you – a person goes to http://www.imdb.com and clicks the ‘LIKE’ button on the movie “The Rock” (with one of the greatest actors ever, Nicholas Cage). IMDb has implemented the following “og” tags:

 

 

As you can see, the “og” meta tags contain several pieces of descriptive information about the movie. Let’s dissect the tags.

The Open Graph protocol defines four required properties:

  • og:title – The title of your object as it should appear within the graph, e.g., “The Rock”.
  • og:type – The type of your object, e.g., “movie”. See the complete list of supported types in the Facebook Open Graph documentation.
  • og:image – An image URL which should represent your object within the graph. The image must be at least 50px by 50px and have a maximum aspect ratio of 3:1. Facebook supports PNG, JPEG and GIF formats.
  • og:url – The canonical URL of your object that will be used as its permanent ID in the graph, e.g., http://www.imdb.com/title/tt0117500/.
  • og:site_name – A human-readable name for your site, e.g., “IMDb”.
  • og:description – A one to two sentence description of your page.

When a user clicks the ‘LIKE’ button, the following will show up for all their friends to see:

Once someone likes your page, the image, name, likes, web page, and the number of people who also like it will show up on that user’s profile under the Info tab.

I’ve just reviewed a few of the basic “og” tags – there are close to 50 tags, and growing. You can see all the meta properties you can include on your site by visiting ogp.me .

When building a site or updating a site I recommend adding as many of these meta tags as applicable. Review the list of og tags on Facebook, identify appropriate content, and add the tags to your site.

Why are you doing this extra work? As I reviewed above, when a user likes something Facebook adds that to the user’s wall for all their friends to see. That’s free advertising to their friends! Facebook also displays a user’s likes on their profile page by adding both a link to the page the user likes and a link to the main web site. That’s two links per like. Now if 5,000 people like you that’s 10,000 inbound links.

Facebook also offers per click advertising advertising. As a part of the segmentation and profiling Facebook offers, you can specify groups such as “friends of users who like the Rock” to target your ads to those who are more likely to be interested in your product.

With all the benefits of a ‘LIKE’ button, what are you waiting for? Get working on your “Like” button now!!

Smartphones – App vs Mobile Sites

Jim DelPizzo Monday, November 15th, 2010

Most companies have realized the shift, the shift that smartphones are here to stay. More and more people are using their smart phones to surf the web, download apps, play games, and check email. The smartphone is taking over what people used to do on a laptop to some extent.

Here is some information on the increase of smartphones and the projections of 2011.

“65 percent of people 18 to 29 years old use their smartphone to access the Internet. Just under 50 percent of people 30 to 39 do the same. Expect those numbers to grow.”
- from the Pew Internet and American Life Project reported in July

There are over 60 million US smart phone users.

2011 smartphones will surpass featured phones by Q3.

Now that companies realize that and finally want to go mobile where do they start? Do they need a mobile website? An App?

Build Apps
Building apps for each device might be time consuming considering as of right now there are iPhones, Andriods, Blackberries, and soon to be released Windows. So you would need to build an application for each device. Though for each device you could use the rich hardware feature of your phone like GPS, maps, and the camera.

Mobile WebSites
Building a mobile web site would be less programming but you would lose out on the hardware features of the phone. Also the display across all the phones might be off, since there are high end smartphones like the iPhone, Andriod, and Blackberry and the low end smartphones that don’t have the display as the high end phones. With the introduction to HTML5 a lot of the mobile sites can act like mobile Apps.

Conclusion
The first thing a company should ask themselves is what are the reason they want a smartphone app or website. From the chart below we can see the breakdown of Apple’s App Store compared to mobile sites

If you are going to use Mobile apps do research on people who are currently using your site, questions to ask – are they iPhone User or Blackberry Users?

My suggestion would be to build a Mobile website first and then if you are in need of an App, you will know which smartphone most of the users of the mobile website use.

**UPDATE pretty cool video on mobile devices:
http://www.youtube.com/watch?v=0aUQLIPdtg8&feature=player_embedded

Will Facebook email kill other web based emails?

Jim DelPizzo Monday, November 15th, 2010

What do most people do when they boot up their computers in the morning? Check email and check Facebook, right? How would that change if Facebook added an email client?

We can all find out today because Facebook is officially announcing that at their invite-only event at 10am PT during the Web 2.0 Summit.

Watch out Yahoo, AOL, Hotmail, and yes you Gmail – Facebook is coming.

Facebook has appropriately named their new webmail client Project Titan and it will add to Facebook’s already long list of great products. Facebook currently has the web’s most used event and photo products, and they’re the most popular web site in the world.

There has been some battling going on between Facebook and Goggle over the last few years with stealing engineers and denying access to APIs. Naming the email client Titan might be foreshadowing the Clash of the Titans between Goggle and Facebook.

The question many of us will be facing in the coming months – will you give up your @gmail.com email address for an @facebook.com email instead?

Watch for the latest news on twitter using the #w2s hashtag

Using Facebook for Logins to Your Website

Jim DelPizzo Tuesday, August 31st, 2010

Last year we helped the Deb shops run the Deb Model Search. One of the features we used was a simple login script. A user had to register with the site and give some information like name, email, username and a password in order to submit a profile or to vote. A registered user could only vote for a model once per day.

What ended up happening was some people used web applications to create fake email accounts as a way to get around the rules and vote for a model more than once a day. We ended up catching on to this when searching which email addresses were voting for the profiles.

One way to solve this is to use Facebook’s Single Sign-on (SSO). Using SSO as the registration process for your site enables users to log on with their Facebook account. Once a user logs in to your site with his or her Facebook account, you can access the user’s account information from Facebook, and the user is logged in to your site as long as he or she is logged in to Facebook.

This also enables social sharing with their friends on their walls when they submit or vote – integrating your site with Facebook.

To do this you need to be part of the Facebook developers group and create a new application to get an application ID. Here is some example code to set up a quick page to test:

define(‘FACEBOOK_APP_ID’, ’116515581710958′);
define(‘FACEBOOK_SECRET’, ‘a35d0afaddf41e092de8261f49d1f8c9′);

function get_facebook_cookie($app_id, $application_secret) {
$args = array();
parse_str(trim($_COOKIE['fbs_' . $app_id], ‘\\”‘), $args);
ksort($args);
$payload = ”;
foreach ($args as $key => $value) {
if ($key != ‘sig’) {
$payload .= $key . ‘=’ . $value;
}
}
if (md5($payload . $application_secret) != $args['sig']) {
return null;
}
return $args;
}

$cookie = get_facebook_cookie(FACEBOOK_APP_ID, FACEBOOK_SECRET);

?>

xmlns:fb=”http://www.facebook.com/2008/fbml”>

Your user ID is


Example of Facebook Login

When a user clicks on the login button a popup will appear with the facebook login box.

After the user logins in they will be presented with an access box which will allow your web site to connect to that users profile.

After the access window you now have access to the facebook user id stored as a cookie. You can use this ID in your code for registered users on your site. We used this feature in the RO*TEL Across America Recipe contest which uses the Facebook Login, Facebook Like, and Google Maps.

Web Development News, Tips, and Tricks

Jim DelPizzo Tuesday, June 22nd, 2010

 

Since the beginning of the web there have been two sides: Programmers and Designers. These two sides have battled to create the perfect site for users that balances aesthetically pleasing pages with pages that work quickly.

One spot where designers have had problems is using web friendly fonts. If you use Photoshop there are hundreds of fonts available but only a certain few work on the web for all browsers. If you use a font that isn’t supported you would have to slice the psd to create images for the text. Images will slow down the loading of your page and those images would not be picked up by search engines.

List of common fonts can be found here.

Google has come up with a solution to help Designers and Programmers co-exist on the web called Google Font API.

As of right now Google Font API has 18 fonts that can be used. Check out the list here.

Here is all you have to do. Add this code at the top of your page, before your style sheet:

Then in your style sheet add:

Here is the call for the p tag in the HTML:

Result:

Making the Web Beautiful!

Related Posts with Thumbnails


 
Contact
NetPlus Marketing, Inc
625 Ridge Pike
Building E, Suite 200
Conshohocken, PA 19428
t: 610-897-2380
f: 610-897-2381

:: More information
:: Website

Work
:: View our reel

Login
login


  • how do we form an image
  • whyis geometry used in art
  • 1992 honda cr 250r pics
  • wam art glass
  • nurse in scrubs photos
  • michaels art suppies
  • creative arts pictures video
  • downloadable photos of semi trucks
  • kawasaki 440 motorcycle photo
  • jean arp art
  • water wheel art
  • b2k pics of lil fizz
  • mexican colonial paintings
  • kola good pics
  • printable softball workout
  • great oaks pics fl
  • free printable map symbols
  • celeste marie pics
  • swans reflecting elephants large image
  • skeleton wings art
  • photos of small bedrooms
  • bachelor of arts in biology
  • photo enfant mere tendresse
  • crayola printable coloring pages
  • old fat women photo
  • seiko landmonster photos
  • sarah palin photo
  • cartoon goat image
  • taking photos for website
  • south indian actress photos forum
  • ski-doo mx summit x pics
  • tk 101 photos
  • robin roberts photos gma
  • the art of makeing presentation
  • candice michelle photo shoot video
  • basic commercial art techniques
  • photo of yellow finch
  • battlefield high school art fair
  • savador dalis art
  • carmel hs greyhound images
  • wallpaper xe serial crack keygen
  • fine art pedestals
  • william photo cards
  • free cartoon bulldog clip art
  • impressionist painting pics
  • free gretchen wilson wallpaper
  • matchpoint movie pics
  • art lesson bungalo
  • bellevue redmen logo
  • sharper image reviews
  • lide 90 osx image capture button
  • lap band images
  • golden tiger martial arts supplies
  • world of warcraft animated wallpaper
  • baby r us photo
  • perth inkjet photo paper
  • texas heat wave pics
  • wallpaper sale idaho falls
  • characteristic of art
  • adding image to backround image