Make $750 Per Day With Facebook Viral Script And CPALead

Page 1

Installing The Viral Gateway Application First you need to create an account on CPALead or Dollarade. Then you need to create an app click “Setup A New Application”:

You will be sent to the Create Application page. Here you'll need to input an application name and agree to the terms of service. When you're done, click “Create Application” to continue.

The next page you'll see will be the application settings page:


From this point, click on the Canvas tab on the left of the page.

Here you will need to input the Canvas Callback URL. This is the location on your server where the files will be hosted from. For example, if your domain is “mydomain.com” and you will be uploading the files to a folder called “viralgateway”, then your Canvas Callback URL would be: http://mydomain.com/viralgateway/ Optionally, the script can also be used within Facebook as well as externally, as a website. If you would like to use the script as a Facebook app, you need to input a Canvas Page URL as well as a Callback URL. From this point, the page can be accessed via the Canvas Page URL, for example: http://apps.facebook.com/viralgateway/ Note: If you choose to run the page as a Facebook app as well as a website, you will need to adjust the width of the #container selector in the file “css.php” to around 750


pixels or less in order remove the scroll bar from the bottom of the frame. Aside from the 760 pixel width limitation, the FB version will function exactly as the page does. There are two final fields that must be set in the Developer app. After you have set your Callback URL,(and optionally your Canvas Page URL) click on the “Connect” tab:

On this page you'll need to input the Connect URL and the Base Domain. Simply input the Callback URL you used in the previous section as the Connect URL, and for the Base Domain, input the name of your domain, in the format “mydomain.xxx”. For example, if your gateway was hosted at http://mydomain.com/viralgateway, then your Base Domain would be “mydomain.com” When you're done, click “Save Changes” at the bottom.


You will then be sent to the “app details” page for you application. It will look like this:

On this page, take note of your API key, Secret key, App ID, and Canvas Callback URL, you will need them shortly. The next step is to prepare the configuration file for your gateway. Locate the file “config.php” within the “upload” folder of the Viral Gateway package and open it. In this file, you will be setting up all of the information that will compose your viral gateway. First, you need to input your Facebook application settings, so the gateway can connect with Facebook's servers. To do so, locate the “Facebook Settings” section in the configuration file, right at the top.


Here you simply need to copy and paste each piece of data from the Facebook Developer app, and into this file. The next section to look at is “Wording Variables”:

Edit each variable to reflect the theme of your page. Here is an overview of what each variable controls on the live page:

The $site_name and $tagline variables are for the Facebook og:meta tags that send Facebook information about your page's content. Set them appropriately based on your page's content. When you are done editing the Wordings variables, move on to the “Feed Settings” section:

T


These variables will control the information sent to the user's Feed. Here is an overview of what each variable controls on the Feed sent to Facebook:

The $feedtitle and $feedimage elements will also be linked to the $feedlink URL. The next section to define is the “Monetization Settings” section:

The script can be monetized with a CPAlead widget. If you want to use CPAlead on your page, simply input your CPAlead gateway script as the $cpalead variable and set $mode to 1 and your widget willappear on the page that loads after the user has shared your page. When configuring your CPAlead widget, make sure to set a success URL for the widget there which redirects the user to the content they are unlocking. If you don't want to use CPAlead, set $mode to '0', or leave it blank. In this case, the script will redirect to the URL set in the $redirecturl variable. When this is complete, save and close the file “config.php”. The files are now ready to be uploaded to the location on your server that you specified as the Callback URL Once the files have been uploaded you can test your installation by navigating to the Callback URL in your browser (i.e. http://mydomain.com/viralgateway/) If there are any issues, retrace your steps here and be sure to follow the instructions carefully.

Communicating with users after they click Like


The Viral Gateway also includes a simple interface for sending Feeds to every user who has clicked the Like button for you page. These Feeds will show up in user's News Feed just like updates from normal Facebook Pages. To utilize this feature, you can access the status update interface from the file “statusupdate.php�, So for example, http://mydomain.com/viralgateway/statusupdate.php. On this page you can create Feeds to send, preview them, and then send them to every one of your user's Facebook News Feeds.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.