Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#181 2011-08-17 10:34:58

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Great plugin!

I’d like to hardcode a value for the Tweet suffix. I’m going to use the same hashtag for all my tweets. I tried messing up with the plugin code but couldn’t figure it out. Does anybody know how to do it?

Offline

#182 2011-08-17 13:25:10

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Jaro wrote:

I’d like to hardcode a value for the Tweet suffix. I’m going to use the same hashtag for all my tweets. I tried messing up with the plugin code but couldn’t figure it out. Does anybody know how to do it?

I need to check some of the code that handles the plugin preferences before I finally release the next version. I’ll add the Tweet suffix to the preferences at the same time for you so that the plugin handles it. :)

If everything goes to plan arc_twitter v3 should be released later this week along with a couple of other new plugins.

Offline

#183 2011-09-07 08:50:45

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi Andy

I’m having problems installing on 4.4.1. I tried a few different versions of arc_twitter, including the latest one from your site and v3.0 from Github. This is what happens:

  1. Install code into Plugins tab and activate
  2. Visit plugin prefs page (/textpattern/index.php?event=plugin_prefs.arc_twitter)
  3. Click on the ‘Connect to Twitter’ link (pointing to /textpattern/index.php?event=plugin_prefs.arc_twitter&step=register)
  4. Click on the ‘Sign-in to Twitter’ link (pointing to https://twitter.com/oauth/authenticate?oauth_token=[token])
  5. I don’t reach the Twitter auth page, I just come straight back to /textpattern/index.php?event=plugin_prefs.arc_twitter&step=validate&oauth_token=[token], where I see this again:

Twitter username unknown (Connect to Twitter)

Any advice appreciated

Stu

Offline

#184 2011-09-07 12:24:29

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi Stu, before the last code push to Github I was having a similar issue during testing. It turned out to be a connection issue with Twitter. Perhaps trying again will fix the problem. Unfortunately, without going over Twitter’s hurdles for authentication there’s no way of using it.

Offline

#185 2011-09-07 12:27:38

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks Andy. That tallies – I did have success on my laptop build, but then couldn’t repeat the trick on my work machine, despite the code base being the same. I’ll keep trying.

Offline

#186 2011-09-08 15:33:40

Klikk
New Member
Registered: 2006-07-14
Posts: 9

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Love this plugin and use it on several sites. Big thanks to monkeyninja :)

I wonder how difficult it would be to add support for the ow.ly shortner? Ow.ly is owned by Hootsuite and you can compile all kinds of link stats from inside the Hootsuite social media app or you can access the raw data directly with an api key. Ow.ly returns json data so I guess the function need to parse that for the return url. Also ow.ly requires an api key but pretty much anyone who asks get one, at least thats my impression from talking with their dev support.

Was thinking of hacking something myself but maybe the author would consider adding ow.ly support in a future release? I am not a php programmer but think I managed to sniff out what functions to copy and change. Not quite sure how to do the json parsing in php tho?

This is a request : http://ow.ly/api/1.0/url/shorten?apiKey=1b2b374b212&longUrl=http://www.hootsuite.com

and the json response : {“results”:{“hash”:“1wPbzT”,longUrl“http:\/\/www.hootsuite.com”,shortUrl“http:\/\/ow.ly\/1wPbzT”}}

Would this be hard to figure out myself?

regards
Tim

Last edited by Klikk (2011-09-08 15:34:36)

Offline

#187 2011-09-12 18:43:27

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

arc_twitter v3.0 is finally out and comes with a new extension plugin that gives you the power of Twitter’s web intents widgets. There are six new tags with this release: arc_twitter_follow_button, arc_twitter_widget_js, arc_twitter_intent_follow, arc_twitter_intent_favorite, arc_twitter_intent_retweet and arc_twitter_intent_reply. Details can be found on my blog and full documentation is on the wiki on GitHub.

Klikk wrote:

I wonder how difficult it would be to add support for the ow.ly shortner? Ow.ly is owned by Hootsuite and you can compile all kinds of link stats from inside the Hootsuite social media app or you can access the raw data directly with an api key. Ow.ly returns json data so I guess the function need to parse that for the return url. Also ow.ly requires an api key but pretty much anyone who asks get one, at least thats my impression from talking with their dev support.

It’s looking likely that Twitter is going to wrap links in its own t.co link wrapper in the near future (I haven’t fully read through the details yet). If this is the case then the need to shorten URLs in arc_twitter becomes redundant as they will not affect the character limit on tweets as they currently would. I’m therefore thinking of removing this functionality from the plugin so am not planning on adding new URL services to it at the moment. At the moment, URLs returned by Twitter used by the arc_twitter tag are in the t.co format rather than the format output by the plugin itself.

Offline

#188 2011-09-12 18:52:57

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

I’m unhealthily excited by this! Fantastic to see the new release! Great work Andy!

Offline

#189 2011-09-12 23:51:41

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks, Andy. I was wondering if the url-only-title issue was addressed in v.3? I have 2.01 and I guess I use punctuation in titles a lot. :-)

Offline

#190 2011-09-19 19:15:04

Klikk
New Member
Registered: 2006-07-14
Posts: 9

Re: TXP Tweet: arc_twitter and arc_twitter_intents

monkeyninja wrote:

It’s looking likely that Twitter is going to wrap links in its own t.co link wrapper in the near future (I haven’t fully read through the details yet). If this is the case then the need to shorten URLs in arc_twitter becomes redundant as they will not affect the character limit on tweets as they currently would. I’m therefore thinking of removing this functionality from the plugin so am not planning on adding new URL services to it at the moment. At the moment, URLs returned by Twitter used by the arc_twitter tag are in the t.co format rather than the format output by the plugin itself.

Ok, thanks for the reply and thanks for the great work! I have to look into this myself. Depending on how Twitter will implement this, not sure if third party shorteners will be redundant tho. For website owners, webmasters and seo proffesionals it is the analytics part of things that are interesting. Social seo analytics is in large part link tracking. Question is who and where. Need to read more… :)

/tim

Offline

#191 2011-09-21 10:51:16

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

maruchan wrote:

Thanks, Andy. I was wondering if the url-only-title issue was addressed in v.3? I have 2.01 and I guess I use punctuation in titles a lot. :-)

It should have been fixed a while back, but I need to check to be certain.

Klikk wrote:

Ok, thanks for the reply and thanks for the great work! I have to look into this myself. Depending on how Twitter will implement this, not sure if third party shorteners will be redundant tho. For website owners, webmasters and seo proffesionals it is the analytics part of things that are interesting. Social seo analytics is in large part link tracking. Question is who and where. Need to read more… :)

Twitter are introducing their own analytics in the near future. I wouldn’t be surprised if t.co links are part of this.

At the moment using URL shortners are creating a minimum of two redirects to get to the original content linked to from Twitter. This is really not great as it slows the page load so this is something I want to avoid in arc_twitter if possible. Perhaps if there is a lot of demand for non-Twitter url shortening then they can remain as an opt-in.

Offline

#192 2011-10-05 04:37:20

Rimfya
Member
Registered: 2007-11-22
Posts: 31

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hey great plugin, what do I do if I want to show tweets from two different accounts?

Offline

Board footer

Powered by FluxBB