This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Bit.ly intergration


avatar
rasp1 64
From: -
Bit.ly intergration

A question, how do I get Bit.ly integration to work, and how will I get it to segregate the twitter posts to the right account since I have 5 twitter accounts tied to it. The next question is I have a Bit.ly Pro account with a custom URl anavr.in url for shortening. Will this work with that?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Bit.ly intergration
avatar
Editor
0
From: -
I see, there is a small typo in /cadmin/news/admindoeditnewspreferences.php

Replace the following line:
$input_news_url_shortening = ( isset( $_POST[ 'input_news_url_shortening' ] ) ) ? $security -> checknum( $_POST[ 'input_news_url_shortening' ] ) : "" ;


with:
$input_news_url_shortening = ( isset( $_POST[ 'input_news_url_shortening' ] ) ) ? $security -> checkvar( $_POST[ 'input_news_url_shortening' ] ) : "" ;
1 Re: Bit.ly intergration
avatar
OP 64
From: -
I've tried that several times, but the drop down always selects Tinyurl and doesn't work when ever I post. It might be because I have more than one account tied to the bitly account.
1 Re: Bit.ly intergration
avatar
Editor
0
From: -
Contentteller 2.1 supports only one Twitter account for all sites. Contentteller 2.2 (summer) will comes with a different Twitter implementation using OAuth but you still need to logout/login to switch accounts.

To enable Bit.ly, select News Preferences => Other

and then:
URL shortening service => Bit.ly
Bit.ly Login => Your Bit.ly login
Bit.ly API key => Your Bit.ly API key

Bit.ly Pro is currently not supported but I will look into it.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.