Skip to content

A Facebook script written with the Facebook javascript SDK, which allows you to run a competition on a facebook page.

Notifications You must be signed in to change notification settings

kohlikohl/fcomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-----------------------------------------
FCOMP
-----------------------------------------
by Matthias Knoll
www.kohlikohl.com
version 0.2
-----------------------------------------


Try a live example here: http://on.fb.me/fcomp-kohlikohl




INTRODUCTION
-----------------------------------------
This is a Facebook app which allows to hold competitions on facebook.


FUNCTIONALLITY
-----------------------------------------
* Welcome screen where the user is promted to enter into the competition
* Page on which the user needs to like 2 Facebook pages
* Page on which the user needs to invote x amount of friends and post a message on their wall to enter the competition
* Thank you page which shows after the user has entered the competition.

* The App differentiates between male and femal users and shows different prices.


REQUIREMENTS
-----------------------------------------

* PHP 5.2.0 or higher
* MySql 5 database
* SSL certificate on server (Facebook requirement as of 1 October 2011)


INSTALLATION
------------------------------------------
* Download zip file
* extract onto webserver
* configure the App in conf/config.js
* configure database access in classes/Base.class.php

Setting up an App on Facebook:
------------------------------
* you need to create an App in the Facebook developer application: https://developers.facebook.com/apps
* Give the app a name
* Assign a namespace
* Enter the domain name of your website in "App Domain" e.g. google.com
* Click on "Website" and enter the URL to the folder where you have extracted the files to e.g. e.g. https://www.example.com/
* Click on "Page Tab" and enter the URL to the tab folder e.g. https://www.example.com/tab/
* Go to the "Advanced Settings" and change the "Enhanced Auth Dialog" to disabled
* Also change "Canvas Height" to settable


NOTE
------------------------------------------
You need to change the debug modus to false in order to post on a friends and your wall.


License
------------------------------------------

Copyright (c) 2011- Matthias Knoll

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Facebook script written with the Facebook javascript SDK, which allows you to run a competition on a facebook page.

Resources

Stars

Watchers

Forks

Packages

No packages published