2 of 2
2
**Updated** LG Twitter 2.0 - Update your twitter status from EE
Posted: 16 August 2008 05:31 PM   [ Ignore ]   [ # 19 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1077
Joined  01-24-2006

Hey Ryan,

Wondering how the variable substitution works against the character count, though. Are you not allowed to submit if, after variable replacement, the character count goes above 140? Or does the Tweet get truncated?

Yeha I haven’t really figured that part out yet. If the variable substitution makes the tweet over 140 characters I’m guessing twitter will jst truncate it. Maybe I need to add an option to say “don’t send if over 140 characters”. If your tweet is over 140 chars LG Twitter won’t send the tweet but display it again for you in an error with the variables replaced. That way you could use the tweet bar to make any adjustments.

Thanoughts?

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 16 August 2008 10:01 PM   [ Ignore ]   [ # 20 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6092
Joined  08-04-2002

I’m pretty sure Twitter will truncate and add a more link but if a person is using (receiving) via SMS it’s lost. SMS is the whole reason for the 140chr limit.

I’ve switched over to identi.ca (open source Twitter platform) and there’s been a bunch of discussions around this.

Profile
 
 
Posted: 16 August 2008 10:37 PM   [ Ignore ]   [ # 21 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1077
Joined  01-24-2006

I just implemented a check to see if the Tweet was over 140 chars. If it is the full length tweet with the variables replaced is show back to the user with an error. This will give them the opportunity to change the tweet before it’s posted.

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 21 August 2008 12:35 AM   [ Ignore ]   [ # 22 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1077
Joined  01-24-2006

For all those interested LG Twitter 2.0 is now available from my site.

New features include:

- Quick Tweet Bar
- MSM Compatibility
- Twitter Publish / Edit tab
- LG Addon Updater integration

Check it out.

LG Twitter 2.0 - Send Tweets from your ExpressionEngine control panel

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 21 August 2008 06:50 AM   [ Ignore ]   [ # 23 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6092
Joined  08-04-2002

Nice set of changes for 2.0 Levi.

Profile
 
 
Posted: 21 August 2008 10:05 PM   [ Ignore ]   [ # 24 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1077
Joined  01-24-2006

Version 2.0.1 is out with a bunch of PHP4 fixes for broken control panels and EE installs in sub folders.

Thanks to Victor for the testing!

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 10 September 2008 07:13 PM   [ Ignore ]   [ # 25 ]  
Grad Student
Avatar
Rank
Total Posts:  84
Joined  04-25-2008

Got a bug, I think.

I went to edit my forum preferences –change the trigger word– and when I wanted to save the settings, a MySQL error jumped saying that site_id doesn’t exist in field dunnowhat – can’t really remember now.

I disabled the Twitter extension and I could save the settings. I think it’s something to do with the twitter bar at the bottom.

Profile
 
 
Posted: 22 October 2008 09:45 AM   [ Ignore ]   [ # 26 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

Hey Leevi - Great extension! 

One request, can you make the variable {entry_id} available?  When I go to send a tweet and include the entry’s title as well as the {url_title} in the url, its more often then not over 140 characters since both are long.

Thanks!

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 22 October 2008 09:51 AM   [ Ignore ]   [ # 27 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

Lastly, I noticed that the from name on twitter is Expression Engine with a link to the extension.  Is there a way to change this or is that the “plug” for the freebe?  Thanks!

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 23 October 2008 10:31 AM   [ Ignore ]   [ # 28 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

More help please. 

I’m getting a funky URL on twitter now: http://twitter.com/you129

http://tinyurl.com/5mxebp

And here is what is submitted in that entries twitter tab:

New Article: {title} - http://you129/com/relationships/story/{url_title}

Not sure why it’s not coming across correctly.

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 24 October 2008 03:52 PM   [ Ignore ]   [ # 29 ]  
Summer Student
Total Posts:  1
Joined  02-10-2006

http://twitter.com/you129 points to http://www.you129.com/com/relationships/story/an_emotional_affair

You just change fix your tweet to:

New Article: {title} - http://you129.com/relationships/story/{url_title}/

Profile
 
 
Posted: 24 October 2008 08:30 PM   [ Ignore ]   [ # 30 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

Not following.

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 26 October 2008 05:02 AM   [ Ignore ]   [ # 31 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  887
Joined  02-15-2008
grantmx - 22 October 2008 09:51 AM

Lastly, I noticed that the from name on twitter is Expression Engine with a link to the extension.  Is there a way to change this or is that the “plug” for the freebe?  Thanks!

Did you find any more about this one mate? I want to use this but I’d like it to be ‘from’ my website with a link. If there’s a commercial option to remove it as per Better Meta I’d happily pay.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 26 October 2008 03:00 PM   [ Ignore ]   [ # 32 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

Nope.  Actually, still waiting on my two other questions.  I’d do the same and pay a small bit to get that off.

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 29 October 2008 06:10 AM   [ Ignore ]   [ # 33 ]  
Grad Student
Avatar
Rank
Total Posts:  76
Joined  06-10-2007

You need to escape quotes on form submission, as it produces errors.

At least my single quote in:

here's

Produced a fail.

Maybe it was a one off, but removing it worked smile

Great extension btw.

Profile
 
 
Posted: 17 November 2008 02:00 AM   [ Ignore ]   [ # 34 ]  
Summer Student
Total Posts:  18
Joined  09-10-2008

Getting some Session Cookie and Headers Already Sent error messages with this extension in EECore 1.6.6.  Is this not made to work on the free version of EE?

Warning: session_start() [function.session-start]: open(/path/sess_47c32089818d778302fbff724322bea6, O_RDWR) failed: No such file or directory (2) in /home/XXX/public_html/system/extensions/ext.lg_twitter_ext.php on line 791

Warning
: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cody/public_html/system/extensions/ext.lg_twitter_ext.php:791) in /home/XXX/public_html/system/extensions/ext.lg_twitter_ext.php on line 791

Warning
: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/cody/public_html/system/extensions/ext.lg_twitter_ext.php:791) in /home/XXX/public_html/system/extensions/ext.lg_twitter_ext.php on line 791

Profile
 
 
Posted: 18 November 2008 06:10 PM   [ Ignore ]   [ # 35 ]  
Grad Student
Avatar
Rank
Total Posts:  36
Joined  11-17-2008

I found that if I just comment out the line it’s having errors with it work’s fine.  Not sure if that is a viable solution but it at least works now.

 Signature 

- cody
CodysPlace.com

Profile
 
 
Posted: 01 December 2008 04:00 AM   [ Ignore ]   [ # 36 ]  
Summer Student
Total Posts:  18
Joined  01-02-2008

anyone knows why I am getting this message?

“Not Authorized: either you need to provide authentication credentials, or the credentials provided aren’t valid.”

The username and password is correct. TIA.

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 43
Total Topics: 82226 Total Anonymous Users: 19
Total Replies: 441924 Total Guests: 215
Total Posts: 524150    
Members ( View Memberlist )