xx
crossposting is not appreciated, please remove duplicate messages ...
Development / Other Software Development / Twitter library Error 403 same tweet I need a RANDOM char type variable
Topics / Device Hacking / Twitter library Error 403 same tweet I need a RANDOM char type variable
Using Arduino / Programming Questions / Twitter library Error 403 same tweet I need a RANDOM char type variable
Using Arduino / Networking, Protocols, and Devices / Twitter library Error 403 same tweet I need a RANDOM char type variable
Topics / Home Automation and Networked Objects / Twitter library Error 403 same tweet I need a RANDOM char type variable
I think the one in this thread is in the right place so you keep the discussion here.
Back to your question:
I have an idea ... Can I have a mix variable that contains a counter or RANDOM value and a little message ????
char msg () = RANDOMvariableCOUNTER + ¨ tweet message¨;
yes this is very well possible.,
int x = random(1000);
char tweet[162];
sprintf(tweet, "ID%d: the rest of the message", x);
but the complete message need to be inside or contained inside the variable " char msg [] "
As opposed to being in the variable tweet? Why?
If that is a real requirement, copy the message there.
OK, after a serious redesign
int x = random(1000);
char msg[162];
sprintf(msg, "ID%d: tweet message", x);
OK, after a serious redesign
Hilarious.