Twitter add on coming back?

By markr - September 12, 2010

My twitter add-on no longer works. Is this the result of the change to OAuth by the good folks at Twitter? Do we have any options?

Re: [markr] Twitter add on coming back?

By Jason - September 14, 2010

Hi,

It looks like the plugin will have to be modified to use the new OAuth libraries. The plugin will have to be re-released once this is done.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Twitter add on coming back?

By Chris - September 14, 2010 - edited: September 14, 2010

Hi markr,

We have a new version of the plugin available. Please let me know if you have any trouble with it at all!

[url http://www.interactivetools.com/add-ons/detail.php?Twitter-Post-1006]http://www.interactivetools.com/add-ons/detail.php?Twitter-Post-1006[/url]
All the best,
Chris

Re: [chris] Twitter add on coming back?

By hvbuilder - October 10, 2010

Hello,

I just added the post to Twitter plugin, I'm rrunning;
CMS Builder 2.06
Twitter 2.03

I get the following error:

Warning: file_put_contents(/var/www/vhosts/catskillsrealestateguide.com/httpdocs/cmsadmin/plugins/access_data.dat.php): failed to open stream: Permission denied in /var/www/vhosts/catskillsrealestateguide.com/httpdocs/cmsadmin/lib/common.php on line 119 Error writing to '/var/www/vhosts/catskillsrealestateguide.com/httpdocs/cmsadmin/plugins/access_data.dat.php'! failed to open stream: Permission denied

I cant even locate a /plugins/access_data.dat.php

Any help would be appreciated.

Re: [hvbuilder] Twitter add on coming back?

By Chris - October 11, 2010

Hi hvbuilder,

The plugin is trying to create that file and your directory permissions won't allow it. I'll update the plugin to work around this problem, but in the meantime, you can either make the plugins directory writable or upload the attached empty file.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris
Attachments:

access_data-dat.php 1K

Re: [chris] Twitter add on coming back?

By hvbuilder - October 12, 2010

Hi Chris,

Worked perfect!

Thanks,
James

Re: [chris] Twitter add on coming back?

By Djulia - November 23, 2010

Hi Chris,

It is possible to modify the link attached to the post on Twitter (via ...) ?
Currently, the plugin indicates [url "http://example.com/"]http://example.com/[/#0000ff][/url]

It would be also interesting to be able to modify the name of the application.

Thanks for your suggestions !

Djulia

Re: [Djulia] Twitter add on coming back?

By Chris - November 23, 2010 - edited: November 24, 2010

Hi Djulia,

To have your feed display a customized "via ..." name and link, you'll need to create your own Twitter Application:

[url http://dev.twitter.com/login?redirect_after_login=%2Fapps%2Fnew]http://dev.twitter.com/login?redirect_after_login=%2Fapps%2Fnew[/url]

Application Name: this is the name that will appear on your twitter feed
Application Description: 10 character minimum, I don't think this displays anywhere.
Application Website: this is the link that will appear on your twitter feed
Application Type: Browser
Callback URL: http://example.com/
Default Access type: Read & Write


After you create your application, you'll be redirected to its details page — here you'll find your application's "Consumer key" and "Consumer secret". Copy-and-paste these into your Twitter Post plugin (cmsAdmin/plugins/twitterPost/twitterPost.php):

$GLOBALS['TWITTERPOST_CONSUMER_SECRET'] = "paste your consumer secret here";
$GLOBALS['TWITTERPOST_CONSUMER_KEY'] = "paste your consumer key here";


Now login to CMS Builder and go to Admin > Plugins. You'll need to "Authorize" the Twitter Post plugin with this new information.

All future posts will display your customized application name and link.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Twitter add on coming back?

By Dave - November 23, 2010

Chris,

Can you add those instructions to the TwitterPost readme? Thanks! :)
Dave Edis - Senior Developer
interactivetools.com

Re: [chris] Twitter add on coming back?

By Djulia - November 24, 2010

Hi Chris,

It is perfect ! :)

For Default Access type, I used : Read & Write

Thanks,
Djulia