Tech Note: LGF Connect Becomes a Mini-Twitter Client

Post to Twitter with Ajax without pop-up windows
LGF • Views: 30,824

Now that we have the infrastructure for the linking of LGF accounts to Twitter accounts, we have another new feature to announce: our retweet buttons (at the top right of each post) now use the LGF Connect app to post your tweet directly on Twitter, using Ajax instead of pop-up windows.

To use this new feature, you need to allow LGF Connect to access your Twitter account (which you can do in your Account Settings), as described in this post from yesterday.

(If your accounts aren’t linked yet, when you click the retweet button you’ll see the old, dull, boring Twitter pop-up window, as usual.)

Our retweet dialog box is pretty simple:

As with Twitter’s own posting window, there’s a counter that shows how many characters you have remaining, as you type.

Note: this Ajax feature can also be used to tweet anything at all. You don’t have to retweet an article or LGF Page; you can clear the default text and type whatever you like, and it will be sent to Twitter with your account, via LGF Connect. So at this stage, we now have a bare-bones Twitter client. Groovy.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
Detroit Local Powers First EV Charging Road in North America The road, about a mile from Local 58's hall, uses rubber-coated copper inductive-charging coils buried under the asphalt that transfer power to a receiver pad attached to a car's underbelly, much like how a phone can be charged wirelessly. ...
Backwoods Sleuth
3 days ago
Views: 186 • Comments: 1 • Rating: 4