Head over to developer.facebook.com and create an App
On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.11
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |
Head over to developer.facebook.com and create an App
On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.11
| #!/usr/bin/zsh | |
| COMPRESSOR=$(whence -p yui-compressor) | |
| [ -z $COMPRESSOR ] && exit 0; | |
| function _compress { | |
| local fname=$1:t | |
| local dest_path=$1:h | |
| local min_fname="$dest_path/${fname:r}.min.${fname:e}" | |
| $COMPRESSOR $1 > $min_fname |
| <!--> | |
| Following code gets information about photos from Flickr via YQL for the given search term | |
| Author : avinash | |
| Email : [email protected] | |
| <--> | |
| <h2>Using YQL to Access the Flickr API</h2> | |
| <form name='upcoming_form'> |