Facebook Viral App

Download: facebook-viral-and-marketing-social-app (1)

Facebook Viral App Documentation

Created by Yougapi Technology – October 2011
Find out our other products on http://codecanyon.net/user/yougapi/portfolio

Thank you for purchasing our product. This is the documentation to help you getting the product working. You can contact us if you need assistance and we’ll do our best to help you.

Introduction

Did you ever dream to get a viral app fully integrated to the Facebook experience? You’ve got it. With this app you can let you users to connect with their Facebook account first, before being able to access a content that you would have defined for them (a video, an article, a software to download etc…).

But that’s only one part of this app can do, the others (and most important) parts are:

- Get and store in your database the users email
- Be able to send a message on your users Facebook wall
- Be able to send an email to your users
- Ability to view the users data stored in the database (email, name, birthday etc).
- Ability to export your users data into a CSV format.
- Automatic autopost on your users Facebook wall, or by email, when they first connect
- Ability to delete the users
- Customize the content reserved only for connected users right from the backend form.
- When posting on users Facebook wall, you can also define a link and/or an image (with the message).

This app can get you more traffic, and help you letting know your users friends about your app or business !

Installation
1. Step one – Setting up your MySQL tables

Open and execute the file called “dump.sql” situated in the “include” folder. Copy paste and run the content into your PHPMyAdmin in order to create the necessary tables used by the app.

Once done verify that you have the new tables created.

2. Step 2
Copy all the “facebook_viral” folder into your server, and open the “include/config.php”.

This file contains all the settings that you will need to define. Please jump to the next page for the configuration.

Configure the app on your server
You need to open the file “include/config.php”. All the settings are centralized into that single

file.

Settings you need to define

$GLOBALS['app_folder']

The folder where your app can be accessed on your server. Leave it empty if you app is on the root of your domain name. Should not have any slash at the end.
Ex: $GLOBALS['app_folder'] = ‘/products/facebook_viral’;

$GLOBALS['app_url']

Your domain URL (without a slash at the end). Make sure you don’t define a www if you access you domain without a www, and define a www if you access you pages with a www. In our example, no www is used before the domain name.
Ex: $GLOBALS['app_url'] = ‘http://yougapi.com’];

Your MySQL database information

$GLOBALS['db_host'] = ‘your_host’; $GLOBALS['db_name'] = ‘your_database_name’; $GLOBALS['db_user'] = ‘your_database_user’; $GLOBALS['db_password'] = ‘your_database_password’;

Your Facebook page information.

You need to define your Facebook app id and app secret.

define(‘FACEBOOK_APP_ID’, ‘here_comes_your_App_ID’); define(‘FACEBOOK_SECRET’, ‘here_comes_your_App_Secret’);

Finally, define the email address from which you want to send all the emails sent through the app. You can define a real email address, or any other email based on your domain name.

Example:

$GLOBALS['email_from'] = ‘me@me.com’;

You should be ready now to run your app. Try it out !

Tags: , , , , , , , , , , ,

admin - smoke weed everyday

Currently there are no comments related to this article. You have a special honor to be the first commenter. Thanks!

You must be logged in to post a comment..