Why link marketing text message can be so short? Recommend a short link interface for use of SMS marketing

In the promotion, especially electricity supplier industry and APP industry is always inseparable low cost, large benefit of SMS marketing. However, SMS marketing, SMS links plus the courage of the few businesses but oh, and the courage of those who always have a degree of recognition of higher short link URL links, text links often because of false information to let a group of people daunting.

If your link is unknown and also particularly long, then you want to achieve using SMS message on the mobile phone side push marketing loop, not the missing link is a link, it must be short links. Xiao Bian today to talk about the way you generate online links short, let me see below ::

1. Baidu Short URL

Baidu short URL is required to apply the major stations, and later became a can but need two hours of review time, and now is immediate

Cons: Because just started, lack of foundation, the market do not eat this, change the letters or letters, almost no effect on the anti-seal system app in Tencent

2. Sina short URL (recommended)

The earliest short links do business because the market retains huge amount, Tencent Department can not easily knife, more popular, simply because the amount is too large, in the past there have been several cases can not be used, t.cn not is arbitrarily blocked, so that the URL is a short Sina inclusive best, market compatibility best short link the best choice, although the official stopped the external interface service api, but still there are still many API interfaces, today I have to share a short URL you are using Sina API interface:

1. Interface Address:  http://maiyurl.cn/weibourl?url_long=http://www.baidu.com

 

Sina short URL API instructions

The "http://www.baidu.com" short URL above Sina api interface section with the long link you need to generate a short URL corresponding Sina!

Sina short URL interface documentation

PHP calling code:

$url = 'http://www.baidu.com';
$api_url = ''.urlencode($url);
$short_url = file_get_contents($api_url);
echo $short_url;

JAVA调用代码:

 public static void main(String path[]) throws Exception {
    URL u = new URL("http%3A%2F%2Fwww.baidu.com");
    InputStream in = u.openStream();
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    try {
    byte buf[] = new byte[1024];
    int read = 0;
    while ((read = in .read(buf)) > 0) {
    out.write(buf, 0, read);
    }
    } finally {
    if ( in != null) {
    in .close();
    }
    }
    byte b[] = out.toByteArray();
    System.out.println(new String(b, "utf-8"));
    }

Python调用代码:

  import urllib, urllib2, sys
    host = ''
    path = ''
    method = 'GET'
    querys = 'http%3A%2F%2Fwww.baidu.com'
    bodys = {}
    url = host + path + '?' + querys
    request = urllib2.Request(url)
    response = urllib2.urlopen(request)
    content = response.read()
    if (content):
    print(content)

此外,大家可能会有一个问题:假如手机用户没有下载该APP,链接跳转到哪里去了呢?

其实,短网址具有唤起app的机制,简单原理:用户点击短网址发起请求或者从浏览器直接访问,手机系统识别到地址的schema,如果有安装该schema对应的app就会唤起打开,如果没有则可能没有响应或者停留在页面。

总的来说,用户已经安装App,会直接唤醒App并跳转到对应商品详情页,用户可以直接进行购买;如果未安装该App,则会跳转到App下载页面,待安装好之后,打开App同样可以跳转到对应商品详情页面。

这样的有短链接的短信才能让用户有如此美妙的体验:整个流程就从短信出发,用户查阅优惠活动信息,从链接处跳转,最后消费下单,打造这样的一个营销闭环。而今,在当下,很多APP的推广方式也大多以这样的方式来做短信推广。

短链接能解决这样的推广问题,但是在当下短信链接还是存在种种信用问题。如果短链接还是满足不了你的需求,那我就建议你可以定制优易网的短信公众号:企业申请订制专属的“短信公众号”服务后,其向用户发出的短信页面均会出现菜单功能,短信菜单支持接入第三方服务,如发出短信指令,进入企业官网、H5页面、客服电话体系或调用企业APP等等。这样做,也是打造营销闭环。


本文出自麦云短链接:http://maiyurl.cn/duanxinapi.html  转载请注明出处


Guess you like

Origin www.cnblogs.com/vxcv221/p/11966205.html