Skip to content

Instantly share code, notes, and snippets.

View johannesnagl's full-sized avatar
👨‍👩‍👧
#proudDadOfAGirl

Johannes Nagl johannesnagl

👨‍👩‍👧
#proudDadOfAGirl
View GitHub Profile
@johannesnagl
johannesnagl / wordpress-functions.php
Created June 20, 2013 09:10
Add New Open Graph Tags for Publisher & Author to your Wordpress Setup; Read more here: http://garage.socialisten.at/2013/06/new-open-graph-tags-for-article-publisher-author/
// read more here: http://garage.socialisten.at/2013/06/new-open-graph-tags-for-article-publisher-author/
// (c) @michaelkamleitner
if ( ! function_exists('additional_opengraph_tags') ) {
function additional_opengraph_tags() {
if ( is_single() and ! is_page()) {
?>
<meta property="article:publisher" content="https://www.facebook.com/YourPageName" />
<meta property="article:author" content="https://www.facebook.com/YourAuthorName" />
@johannesnagl
johannesnagl / fbcamp2013-01
Created March 1, 2013 10:30
#fbcamp 2013: 01.03.2013
Zeit;Raum 307;Raum 306;Raum304;Raum309;Raum310
11-12;100.000% Wachstum a. Facebook;B2B=B2C;Hands on - was begeistert meine Fans;Erfahrungsaustausch zu Advertising;Facebook für KMU
12-13;Facebook KPIs;Social Media Rant;Möglichkeiten der Facebook-Apps;Global Pages;Gesundheit für Webworker
13-14;Mittagspause;Mittagspause;Mittagspause;Mittagspause;Mittagspause
14-15;Facebook Recht;Pages vs. Blogs;Open Graph Apps;Interaktion auf FB;Apps bauen mit fanpage generator
15-16;Graph Search;Personal-Recruiting;Enttäuschte Kunden oder Trolle;Insights/Datennutzung;Das Projekt 'issocial'
@johannesnagl
johannesnagl / magic-hat.js
Created October 11, 2012 12:49
the magic hat trick...
$(document).on("click", ".magic-hat", function() {
var $this = $(this), $bunny = $($this.attr("data-bunny"));
$this.slideUp(500, function() {
$bunny.slideDown(500);
$this.remove();
});
return false;
});
@johannesnagl
johannesnagl / Tweetsheets
Created August 9, 2012 10:25
Use Twitter directly in your Google Doc, so no one will ever blame you for being social
var CONSUMER_KEY = "<< YOUR KEY HERE >>";
var CONSUMER_SECRET = "<< YOUR SECRET HERE >>";
function getConsumerKey() {
return CONSUMER_KEY;
}
function getConsumerSecret() {
return CONSUMER_SECRET;
}