I’ll expand my post to clarify it better. I do want to stay away from OAuth and keep this function contained in the html page only.
You’ve likedly concluded that I am not a skilled programmer or code writer.
*** WHATS NEEDED *******************************
let my visitors be able to insert from this type of page https://rickym.com/p/index2.htm
so they can see their own TWITTER time-line. Then be able to switch between the embedded twitter time-line and their own time-line
We do not want our servers to be involved in anything to do this, no Php, database, tracking or keeping any additional client info.
The script to do this must be contained within the html page.
logon to twitter, go to settings, then Widgets, hit Create then put your @Username in, unclick both options (this saves you data costs) keep height at 600px, choose theme and link-color or best just leave them as is for now. Hit create widget. Copy the code
<a class="twitter-timeline" href="https://twitter.com/twitter" data-widget-id="513415473593999360">Tweets by @twitter</a>
Save your changes.
Now you have the 3 things you need to set-up on rickym:
the number from
your twitter Username
yourusername (without the @)
Use the id-number, @yourusername and yourusername to set-up your own twitter time-line on any rickym.com/??. It will save a cookie on your device for your twitter-timeline.
Once done you can go to any rickym.com/?? and switch between your own twitter-timeline and that persons twitter-timeline.
If the cookie gets deleted you have to repeat this or simply keep your data-widget id number handy.