Twitter Retweet iMacro - twitter

My Specs:
OS: Windows 10
Firefox Version: 47.0.1
iMacro Version: 8.9.7
(I hope that's all you need?)
My Problem:
I'm trying to make a Twitter Retweet iMacro, and the weirdest thing is happening. So here's a Tweet:
https://twitter.com/jjuanusa/status/749885664204816384
In order to retweet this sonofabitch you have to click twice. First you click the Retweet icon there, and then a little popup appears, where you click Retweet, and the tweet gets retweeted.
My problem is with the first click that has to be made.
Now, for this tweet (having 10 retweets at the moment), this line of code works:
TAG POS=1 TYPE=BUTTON ATTR=TXT:Retweet<SP>10
However, I need a line that works universally for any tweet. I have tried the following until now:
TAG POS=1 TYPE=BUTTON ATTR=TXT:Retweet<SP>*
TAG POS=1 TYPE=BUTTON ATTR=TXT:Retweet*
TAG POS=1 TYPE=BUTTON ATTR=TXT:Retweet
TAG POS=1 TYPE=BUTTON ATTR=TXT:*
TAG POS=1 TYPE=BUTTON ATTR=TXT:
TAG POS=1 TYPE=BUTTON ATTR=TITLE:Retweet
NONE works. WTF? The asterisk * is supposed to be a universal switcher, and should have worked!!
Can anyone help? I can't believe I'm stuck on this.
Thanks a lot

This code seems to work:
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=A ATTR=TXT:Retweet* EXTRACT=TXT
TAG POS=1 TYPE=A ATTR=TXT:{{!EXTRACT}}

Related

Issue in OL/LI tag in first time edit

I'm using the trix gem in my rails app. which has a front end in vuejs. When I enter text having OL and LI so in edit it displayed wrong format HTML even if I get the correct response from API
The initial text I enter is like thisenter image description here
when I save and open in edit the same it shows me like this:
enter image description here
Details
Browser name and version: Chrome
Operating system: Ubuntu
*ruby-version: ' 2.7.0'
*rails-version: '6.0.0'

Twitter share button not using custom url or text

I have a link like so
= link_to "https://twitter.com/share", class: "twitter-share-button", data: { url: "https://google.com", text: hack.body, via: "GhettoLifeHack_", hashtags: "ghettolifehack" } do
= image_tag "Tweet", alt: "Social Twitter tweet button"
and no matter how much I change the data-url value, the pre-tweet confirmation page always prepopulates the tweet form field with the url of the referring page, not the one I specified. It also ignores my custom data-text as well.
Why is this happening?
I also have this minified script
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
that I got from here https://about.twitter.com/resources/buttons#tweet
Removing that script doesn't seem to change anything.
edit: upon trying using :'data-url' attributes directly, the output html is the same.
I am testing hardcoded strings and dynamically generated urls at the same time. The first is the dynamic one.
<a class="twitter-share-button" href="https://twitter.com/share" data-via="GhettoLifeHack_" data-url="http://localhost:3000/hacks/1" data-text="asdf comment body" data-hashtags="ghettolifehack">
<img src="/images/Tweet" alt="Tweet" title=""></img>
</a>
The second is the hard coded strings
<a class="twitter-share-button" href="https://twitter.com/share" data-via="GhettoLifeHack_" data-url="httpL//google.com" data-text="custom text" data-hashtags="ghettolifehack">
<img src="/images/Tweet" alt="Tweet" title=""></img>
</a>
I've tested on development and in production. Both have the same behavior of pre-populating the tweet form with the referring url, rather than the specified url and text.
This works in Chrome for me but not in Firefox 32
The code provided by you is perfectly fine and should work as expected.
Many site issues can be caused by corrupt cookies or cache. Try to clear both cookies and the cache. I would suggest you to look into the following link to see why it is not working in firefox
The issue was specific to firefox browser. I'm not sure what addon or setting is causing the conflicts, but it is working perfectly find in chrome, including the popup window.

ng-href link not followed on Firefox

I'm using ng-href which seems to produce the correct results, and the correct behaviour on Chrome but not on Firefox.
on the page www.mydomian.com/clubs/ in my rails app i have the Haml
%a{'ng-href' => '\players\{{player.id}}'} {{player.name}}
when run this produces this html
<a ng-href="\players\14208" class="ng-binding" href="\players\14208">Dylan Robertson</a>
when I use Chrome and click on this link I'm taken to
www.mydomian.com/players/14208
however on firefox when I click on this same link I'm taken to
www.mydomian.com/clubs/%5Cplayers%5C14208
I can't work out why anyone any ideas?
I have
$rootElement.off('click') set in my app.run
Try changing your slashes to go the other way;
<a ng-href="/players/14208" class="ng-binding" href="/players/14208">Dylan Robertson</a>

iOS Mail.app line-break in text body

I have a simple div with onclick attribute. The attribute contains a mailto achor tag so if the visitor click on the div his/her mail client pops up with a new mail window.
My problem is that I have a sample tag in the mail body with line breaks. In OS X Mail.app, Windows' Outlook, Gmail and even in my Windows Phone 7.5 default mail client it works perfectly but on my iPhone or iPad there are no line-breaks.
For line-breaks I use the following code: \u2029.
I copy the whole code so you can understand my problem:
<?php
$linebreak = '\u2029';
$signup_email = 'hello#company.com';
$signup_subject = 'Signup';
$signup_body = 'Dear Company,'. $linebreak . $linebreak .'I would like to signup as the following'. $linebreak .'My name: '. $linebreak .'My e-mail: '. $linebreak . $linebreak . $linebreak .'Best regards, '. $linebreak;
?>
<div id="signup" class="left" onclick="location.href='mailto:<?=$signup_email;?>?subject=<?=$signup_subject;?>&body=<?=$signup_body;?>';">Signup</div>
The sample text is just a sample text, I don't want to make a signup form like this (it would be so lame (: )
OK, I just figured it out.
In this post the author says you should use %0D%0A squence to break lines. And it works! I tried in Gmail, OS X default Mail.app, MS Outlook and Thunderbird on Windows XP/7, Windows Phone 7.5, iOS 5.1 and iOS 4.2.1.

redmine link to the heading on the same page

How to create link on the same page to a heading?
I tried following
[[#heading1|link text]]
but that does not work
If your page is /projects/demo/wiki/testpage:
[[testpage#heading1|link text]]
will generate
<a class="wiki-page" href="#heading1">link text</a>

Resources