We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Create tweet splitter

dori2o
dori2o Posts: 8,150 Forumite
Part of the Furniture 1,000 Posts
I'm looking to see how difficult it would be to create a twitter splitter.

What I mean is to be able to create a programme that will automatically split text into 140 character (or less) sections which can then be posted on twitter.

I know there are already programmes available to do this, but the company I am looking ointo this for is concerned about data security and the potentialfor data to be stored by the websites offerring this service. We also don't want an all in one service which automatically submits the text to twitter.

I was wondering if it would be possible to do this via Excel? To be able to limit the number of characters in a cell (which I know is possible) and instead of an error message being issued once 140 characters has been passed just have the text automatically move to the cell below. This text could then be copied/pasted into the social media dashboard that the business uses (Hootsuite).


If not could someone direct me to a simple way of creating such a programme which would allow me to do this. It hasto be simple to create as I have no programming experience and the HTML I know is that which is usedon forums to change the text.

Somebody suggested using Google forms but I've never used it before.

Many thanks in advance.
[SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
[/SIZE]

Comments

  • debitcardmayhem
    debitcardmayhem Posts: 12,980 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    dori2o wrote: »
    I'm looking to see how difficult it would be to create a twitter splitter.

    What I mean is to be able to create a programme that will automatically split text into 140 character (or less) sections which can then be posted on twitter.

    I know there are already programmes available to do this, but the company I am looking ointo this for is concerned about data security and the potentialfor data to be stored by the websites offerring this service. We also don't want an all in one service which automatically submits the text to twitter.

    I was wondering if it would be possible to do this via Excel? To be able to limit the number of characters in a cell (which I know is possible) and instead of an error message being issued once 140 characters has been passed just have the text automatically move to the cell below. This text could then be copied/pasted into the social media dashboard that the business uses (Hootsuite).


    If not could someone direct me to a simple way of creating such a programme which would allow me to do this. It hasto be simple to create as I have no programming experience and the HTML I know is that which is usedon forums to change the text.

    Somebody suggested using Google forms but I've never used it before.

    Many thanks in advance.
    Huh ? once the two hats use twitter it is stored forever
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • Tigsteroonie
    Tigsteroonie Posts: 24,954 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    dori2o wrote: »
    I was wondering if it would be possible to do this via Excel? To be able to limit the number of characters in a cell (which I know is possible) and instead of an error message being issued once 140 characters has been passed just have the text automatically move to the cell below. This text could then be copied/pasted into the social media dashboard that the business uses (Hootsuite).

    If you type all the tweet into one cell, you could use the =LEFT and =MID commands to take the first 140 characters into one cell, the next 140 characters into the next cell, the next 140 into a third cell etc.

    But that would split words across tweets so you could end up with tweets reading rather stupi
    dly, if you get my drift.
    :heartpuls Mrs Marleyboy :heartpuls

    MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote

    :) Proud Parents to an Aut-some son :)
  • dori2o
    dori2o Posts: 8,150 Forumite
    Part of the Furniture 1,000 Posts
    Huh ? once the two hats use twitter it is stored forever
    Thats fine, but there is no telling who owns the sites these tweet splitters are hosted on and what information they are storing, at least when posting on twitter you know who holds and can see the data.
    [SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
    [/SIZE]
  • debitcardmayhem
    debitcardmayhem Posts: 12,980 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    dori2o wrote: »
    Thats fine, but there is no telling who owns the sites these tweet splitters are hosted on and what information they are storing, at least when posting on twitter you know who holds and can see the data.
    You are arguing with semantics, once the tweet is posted who knows who copies and then disseminates it, and where or whoever stores them ad infinitum.

    Use a batch script using Dos, powershell , python, perl or excel etc...

    Really ?
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • dori2o
    dori2o Posts: 8,150 Forumite
    Part of the Furniture 1,000 Posts
    If you type all the tweet into one cell, you could use the =LEFT and =MID commands to take the first 140 characters into one cell, the next 140 characters into the next cell, the next 140 into a third cell etc.

    But that would split words across tweets so you could end up with tweets reading rather stupi
    dly, if you get my drift.
    That wouldn't be a problem as I'm assuming that I could set the character count at say 125/130 which would leave room to adjust the tweet as required.

    Thanks
    [SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
    [/SIZE]
  • dori2o
    dori2o Posts: 8,150 Forumite
    Part of the Furniture 1,000 Posts
    You are arguing with semantics, once the tweet is posted who knows who copies and then disseminates it, and where or whoever stores them ad infinitum.

    Use a batch script using Dos, powershell , python, perl or excel etc...

    Really ?

    I know that. I'm just providing the details of the brief I've been given.

    If it were down tome i'd just use an existng web based programme.
    [SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
    [/SIZE]
  • dori2o
    dori2o Posts: 8,150 Forumite
    Part of the Furniture 1,000 Posts
    So I went down the route of the spreadsheet using the MID formula. i've been ableto split text into 125 character sections.

    What I'd like to be able to do if possible is have the sheet automatically mark the splits after the text has finished, i.e. 1/1, 1/2, 2/2, 1/3 etc etc depending on how many parts the text is split into.

    Would there be a way of doing this or is this beyond the scope of a spreadsheet.
    [SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
    [/SIZE]
  • Tigsteroonie
    Tigsteroonie Posts: 24,954 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    dori2o wrote: »
    What I'd like to be able to do if possible is have the sheet automatically mark the splits after the text has finished, i.e. 1/1, 1/2, 2/2, 1/3 etc etc depending on how many parts the text is split into.

    Would there be a way of doing this or is this beyond the scope of a spreadsheet.
    I don't have a version of Excel at home so I cannot really play with this but ... Presuming you don't know how many cells that the tweet has split into:

    You could use a COUNTIF to determine the number of cells that contain text after splitting (which is the bit after the '/' character);

    You could use a CONCATENATE to attach the split tweet to a space, number, '/', and the result of the above countif.

    This all sounds a bit clumsy and I am sure there are probably cleaner methods but it could solve the problem for you until someone comes up with a better idea.
    :heartpuls Mrs Marleyboy :heartpuls

    MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote

    :) Proud Parents to an Aut-some son :)
  • Lakeuk
    Lakeuk Posts: 1,084 Forumite
    Part of the Furniture
    Yes can easily be done in excel using MID function, not a solution I'd go with as it doesn't take account for splits mid word. This can be improved on by also including the SEARCH function to find the position of a word to present the text more cleanly. I've made an example on Google Sheets

    Why would the client want to do this, generally not a good idea to message across multiple tweets, better to have one tweet with a link to more detail.
  • dori2o
    dori2o Posts: 8,150 Forumite
    Part of the Furniture 1,000 Posts
    Thanks for all the help.

    One final question.

    I've looked on the web and I don't think this is possible, but for those excel experts out there, is it possible to push data from one cell to another, without having to input a formula into the cell that the text is to be 'pushed' to.

    Reason being once the text is split the person using the toool needs to copy that text and as this cannot be done from a locked cell there is the potential for the person using the tool to delete the MID formula from the cell which displays the text and therefore stop the splitter from working.

    OR, failing that is there a way to protectthe cell and allow text to be copied from it?
    [SIZE=-1]To equate judgement and wisdom with occupation is at best . . . insulting.
    [/SIZE]
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.7K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.7K Work, Benefits & Business
  • 600.1K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.