Blog

Open source twitter streaming code list

Open source twitter streaming code list

Below are the top Open source twitter streaming code list : -

Posted in: Twitter

Leave a Comment (0) →

6 steps to make your contest effective on Facebook.

Why should i run a promotion on Facebook?

If your client or yourself ever wondered what the answer is, contests and promotions are an excellent resource to boost your business and are useful for large, medium or small companies but that it will happen only care about your end user.
Contests and promotions serve for various purposes for example to get more audience, increase the level of community interaction, increase your databases or deliver more traffic to your website and therefore, we have to take care of the details to make them truly effective.
The logic of this resource is that you have to give something to get attention so we have to find ways in which people allow us to share your social life to communicate the message of our brand and promotions are highly effective tools to achieve it.
- OK, you convinced me and I decided to organize a contest but … Where do I start?

1) Set goals:
The first step, as in any marketing action, is to set clear objectives you set out with this move. To do that you have to answer the question: What do you want to achieve with this competition?
For example: increase the visibility of your business, generate databases for use in email marketing activities or to learn more about your fans, increase the size or activity in your community or promote a new product.
Determine this with your team is very important and will influence the competition format that will carry forward and should respect the story it tells of your brand.

2) Follow the rules of Facebook:
It is vital for the survival of your promotion that it respects the Facebook imposes rules for this type of action , you have to use an application like The Fan Machine and not use the social network’s wall.

3) Choose a proper participation mechanic:
There are different ways to activate your community, but is essential to personalize the “stories” of your promotion. This means you have to think and customize each of the publications that participants and voters will share automatically  for a greater virality of your action.
You can do this in step 4 when setting up your promo with The Fan Machine

A) The most common method is the image or photograph contest because of their ease of participation, so it is familiar and widespread in this environment and because Facebook is the best performing mechanical gain fans. Also generate databases for future marketing, colors and images of your brand will always be present and the viral power of the spirit of competition.

B) To convert all your fans into clients, the path is to use a coupon promotion.Using this tool is easy to drive your fans to visiting your point of sale. Participants must sign up for a discount coupon that can be used in your business or digitally. This will increase your sales and activity on your site in an unexpected way.

C) For major contests & promotions you can require a little more to your followers and ask upload a video according to a specific set point and follow the same steps as in the image contest. It is very simple for the fans because with one click your video imported from YouTube and begins a real battle of videos, where experiences and entertainment will be the best result will win your community.

D) Under the same mechanics of voting, there is the possibility of promoting a  story contest(text)that is much easier for participants to participate and is really effective to engage with your community.

E) The simplest way to promote a product, service or event isa sweepstakes, as often happens that people do not participate when the mechanics are too complex or has many steps to complete the registration.

4) An attractive prize:
Keep in mind that the award should have some relationship with the customer required to enter or win. Analyzing your audience is central to achieving greater participation of members of your community.

5) Set clear terms and conditions:
This is another time where you can differentiate yourself from the rest of the mechanical or thematic promotions proposing novel but without losing sight of the simplicity. If you want to achieve engagement is vital that you seek to innovate and be creative to avoid falling into
routine.

6) Communication:
When launching a contest or promotion you must not think that automatically you fans know about it.  You must inform to your fans about it with a proper community management work to keep alive the flame of promotions, generating intrigue, causing the competitive spirit among the participants and recalling the reward if they have a target.

Posted in: Facebook

Leave a Comment (0) →

How do Facebook Ads work?

How do Facebook Ads work?

Facebook ads work under an auction system, in which each advertiser offers a price (bids) so that their ad is shown instead of one of the others competing for the promotional space.

To get Facebook users to see your ad, you must “bet” how much are you willing to pay to have your add shown, even though you’ll end up paying a lower number. The following chart is very clear:

biddingThere are many formats availabe and here we’ll review which are the most appropriate to archieve each goal. To start with, there are two main categories:avisos

A) Ads – When the business speaks

In this type of ad, the creator can completely modify all the elements of the message. This means, it is possible to configurate the title, the images and even the text included in the ad.

There are 4 Ad formats:

1)  Classic Ad.

2) Page Post Ad.

3) Mobile App Ad.

4)  Search Results Ad.

1) Classic Ad:

They are the most similar to the newspaper ads, for they don’t exhibit social interactions. They are only situated on the right column, exclusively dedicated for ads.

The exception to this rule is when the ad is linked to a Fan Page, App or Event in Facebook, due to, only in this specific case, the classic ad appears on users Newsfeed between friends activities.

Each advertiser can decide where each ad would point to and direct the traffic. One can select to point the ads to an online store, blog or any other web site or site inside Facebook, like a Fan Page, Event or App could be for instance.

The social context of the ads, such as: “John likes: X”, appears by default when the landing page set is inside Facebook (Fan Page, Event or App).

When we want to promote an external site from Facebook and we wish to include that social information, we must include the URL promoted in the basic information of the Fan Page, by logging into the Administrator Panel.

The requirements for launching a Classic Ad are:
Title: (25 characters maximum)
Text: (90 characters maximum)

Image: (100 pixels width and 72 pixels high as maximum size. You can upload it or select one from an existing album.)

2) Page Post Ad:

This type of ad enables to increase the social reach of a post made on a Facebook Page. For its own features, they can be located on the mobile Newsfeed as well as on desktops Newsfeed and right column.

When promoting a post (post), it doesn’t change its appearance nor its social functionalities (that enables to increase the amount of persons that will see it). Users will be able to interact normally with the post, whether it’s indicating their like, leaving a comment or sharing the post.

For example, if the post that we are promoting is a video, it will be able to be reproduced by the users as usually, or if it’s a poll, they’ll indicate the answer, and so on with the other type of posts.

Keep in mind that, if you want the promoted post to be also shown on the right column, Facebook will only exhibit the first 90 characters of the text.

3) Mobile App Ad.

The aim of this format is to ease the installation of mobile apps. These ads are linked to download sites such as Google Play for Android or App Store for devices with iOS.

Before creating this type of ads, the app must have been set as active on Facebook by following the steps described in this tutorial: Mobile App Install Ads.

It’s worth clarifying that, to promote the installation of an app it’s not necessary for it to be integrated to the social network from the user experience, but Facebook must have knowledge of its existence.

The dimensions of the images to promote the installation of an app are 600 pixels width and 360 pixels high. The title shown will be the name of the app and the description text, that can have up to 100 characters.

4) Search Results Ad.

This type of ads enables to appear in the first place on Facebooks searchs. The image shown will be the one of the Fan Page, App or Event promoted, and it can be configured a description text of 70 characters maximum and also establish to which tab are redirected the users that click on the ad.

These type of ads are only visible from desktops and do not appear on the searchs made through mobile devices nor are they shown when the user extends the listo to “more results”.

B) Sponsored Stories – When the friends speak

The sponsored stories differ from the classic ads since they are not modifiable and  what is directly promotioned is the social behaviour of a friend (logically linked to a Fan Page, Event or App that we have configured). It converts friends into recommenders  of the content published by the pages or about likes and preferences.

A story can mean that a friend has indicated that he liked a page, used an app, attended an event, accessed an offer or commented a post, for instance.

Likewise the promoted posts, when deciding to promote a story, its content doesn’t change but its reach and distribution is increased.

Sponsored stories appear in desktop and mobile Newsfeeds and also on all the other locations that Facebook has available for ads.

In general, this ad format is the one that gains more interactions for, as being related to friends, users pay more attention to these stories, raising the amount of clicks and levels of engagement. People tend to give more credibility to the activity and suggestions of their friends than to the direct communications of brands and organizations.

Besides, the sponsored stories appear with the profile picture and name of the friend  that generated any interaction with the Fan Page, Event or App that is being promoted, giving it a more human, personal and friendly aspect.

In addition to all the actions predetermined by Facebook (indicating a like, making a comment, sharing a post, attending an event, etc) there are other stories that can be promoted thanks to the Open Graph mechanism that Facebook provides so that any company can use it integrated to their social network. For example, you can promote a story about a friend that has checked-in a restaurant or listening to a song or watching a movie.

Posted in: Facebook

Leave a Comment (0) →

Remove File Extention from URLs

A simple thing: This rule is inserted in an Apache Server .htaccess file. If you don’t have this file, you must create it. And this requires your host has activated the rewrite module. mod rewrite works only on apache server. before trying please be sure that you are working on Apache server and the mod rewrite module/extension is enabled.

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php

 

Posted in: General

Leave a Comment (0) →

Top 10 WordPress Security Tips

The following point are best to to secure your website.

  • Hide the WP version in my HTML
  • Remove readme.html
  • Hide login error messages
  • IP blocking*
  • Use a different prefix for your DB
  • Move wp-config.php*
  • .htaccess protect wp-config.php
  • Lock file permissions
  • Prevent plugins from writing to wp-config.php and .htaccess
  • Prevent folder content browsing (for images mostly, but also plugins)
  • Use strong passwords for WP/FTP/SQL accounts
  • Use one-time passwords for WP/SQL/FTP/SSH accounts 

If you install better wordpress security plugin then you will have major points to secure your website.

Posted in: Tips & Tricks, Wordpress

Leave a Comment (0) →

Best WordPress plugin to speed of your site?

Best WordPress plugin to speed of your site?

If site doesn’t load on time then visitor will leave the site without opening and might not come back again on your site. So for this purpose I have written the below points and some of plugin which will help you to reduce the load time issue.

1. Tools.pingdom.com.

ping_tools_sabirCheck your website load time using  the Pingdom.com tool . It will provides you the list of all files  with time taken to load. After viewing all files you can reduce the unnecessary files to reduce the load time.

2. Reduce image file sizes to load site faster.

We can use the Photoshop or any other software which reduce the image size and that can help you to load the site faster. If you are not aware of Photoshop or any other software then I recommend you to use this plugin  wp-smushithttp://wordpress.org/extend/plugins/wp-smushit/

How does it work?

Every image you add to a page or post will be automatically run through Smush.it behind the scenes. You don’t have to do anything different.

Existing images

You can also run your existing images through Smush.it via the WordPress Media Library. Click on the Smush.it now! link for any image you’d like to smush.

3.Install a caching plugin

 Caching is a process in which static HTML files of your website are created and given to visitors behind the scenes. Then when visitors come again to your site, any dynamic content (e.g. images) loads faster because the static material is already there, ready and waiting. I recommend a plugin like W3 Total Cache. W3 Total Cache improves the user experience of your site by increasing server performance, reducing the download times

4. Use free CDN services

CDN is short for content delivery network.

A content delivery network (CDN) is a system of distributed servers (network) that deliver webpages and other Web content to a user based on the geographic locations of the user, the origin of the webpage and a content delivery server. We recommend you to use jsDelivr – WordPress CDN Plugin 

5.Enable gzip compression

Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today’s Internet traffic travels through browsers that claim to support gzip. We recommend you to use a plugin Enable gzip 

 6. Put CSS at the top and JS at the bottom ( Optional  )

Putting stylelsheets in the document head of the page prohibits progressive rendering, so browsers will block rendering to avoid having to redraw elements of the page.  And, put your javascript code at the bottom of the page for the same reason.

7. CSS Sprites

CSS Sprites are the preferred method for reducing the number of image requests. Combine your background images into a single image and use the CSS background-image and background-positionproperties to display the desired image segment.

8.  Remove the Unwanted codes.

Remove the plugin which are not usable and removed the css , jquery files which you think that are not usable in the site.  Avoid Empty Image src. Avoid 404 redirection on the site.

 

Posted in: General, Wordpress

Leave a Comment (0) →

Top 10 htaccess security tips

Top 10 htaccess security tips

1. Redirect to a secure https connection

If you want to redirect your entire site to a secure https connection, use the following:

  1. RewriteEngine On
  2. RewriteCond %{HTTPS} !on
  3. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

2. Block script execution

You can stop scripts in certain languages from running with this:

  1. Options -ExecCGI
  2. AddHandler cgi-script .pl .py .php .jsp. htm .shtml .sh .asp .cgi

3.  Restrict file upload limits for PHP

You can restrict the maximum file size for uploading in PHP, as well as the maximum execution time. Just add this:

  1. php_value upload_max_filesize 10M
  2. php_value post_max_size 10M
  3. php_value max_execution_time 200
  4. php_value max_input_time 200

4. Force a file to download with a “Save As” prompt.

If you want to force someone to download a file instead of opening it in their browser, use this code:

AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4

5. Compress file output with GZIP

You can add the following code to your htaccess file to compress all of your JavaScript, CSS and HTML files using GZIP

  1. <IfModule mod_gzip.c>
  2. mod_gzip_on         Yes
  3. mod_gzip_dechunk    Yes
  4. mod_gzip_item_include file          \.(html?|txt|css|js|php|pl)$
  5. mod_gzip_item_include handler       ^cgi-script$
  6. mod_gzip_item_include mime      ^text\.*
  7. mod_gzip_item_include mime      ^application/x-javascript.*
  8. mod_gzip_item_exclude mime      ^image\.*
  9. mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  10. </IfModule>

6 .Set up a 301 redirect

If you move around the structure of your site and need to redirect some old URLs to their new locations, the following bit of code will do so for you

Redirect 301 /original/filename.html http://domain.com/updated/filename.html

7. Set the default page of each directory

If you don’t want to use an index page in each directory, you can set the default page visited when someone reaches (like an about page or a page offering the newest content) that directory by adding this:

DirectoryIndex news.html

8. Prevent directory browsing

If you don’t include an index file in a directory, visitors can browse the directory itself. But preventing that is as easy as adding a single line to your .htaccess file:

Options All -Indexes

9 . Create a custom error page

.htaccess on a Linux Apache server makes it easy to create your own custom error pages. Just create your custom error page files and then add this code to your .htaccess file:

  1. ErrorDocument 401 /401.php
  2. ErrorDocument 403 /403.php
  3. ErrorDocument 404 /404.php
  4. ErrorDocument 500 /500.php

10. Protect your site from hotlinking

The last thing you want is for those stealing your content to also be able to embed the images hosted on your server in their posts. It takes up your bandwidth and can quickly get expensive. Here’s a way to block hotlinking within htaccess:

  1. RewriteEngine On
  2. RewriteCond %{HTTP_REFERER} !^$
  3. RewriteCond %{HTTP_REFERER} !^http://([ -a-z0-9]  \.)?domain\.com [NC]
  4. RewriteRule \.(gif|jpe?g|png)$ - [F,NC,L]

Posted in: General

Leave a Comment (0) →