Closed Bug 1061340 Opened 10 years ago Closed 10 years ago

URL saved from Twitter is the tweet URL, not the content URL

Categories

(Firefox for Android Graveyard :: Overlays, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rnewman, Unassigned)

References

Details

We tackled this in Bug 799615 for Send Tab -- we prefer to use the first link from the body, not the link to the tweet itself.

Let's make sure we're using the same logic for the share handler.

STR:

* Open a tweet in the Twitter app. Make sure the body of the tweet contains a URL.
* Share.
* Choose "Save to Fennec".
* Pick "Add to Reading List".
* Observe that the added link is https://twitter.com/...
Blocks: 1040967
No longer blocks: 1061310
(In reply to Richard Newman [:rnewman] from comment #0)
> We tackled this in Bug 799615 for Send Tab -- we prefer to use the first
> link from the body, not the link to the tweet itself.

The content of a Twitter share intent:

android.intent.extra.TEXT: "Check out @TechCrunch's Tweet: https://twitter.com/TechCrunch/status/508045708638060546"
"tweet_id": 508045708638060546

We are not sent the tweet body.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
(In reply to Richard Newman [:rnewman] from comment #0)
> We tackled this in Bug 799615 for Send Tab -- we prefer to use the first
> link from the body, not the link to the tweet itself.

Just to clarify: It looks like when you did Bug 799615 Twitter *did* send you the tweet body. They appear to have changed their behaviour :(
Ugh, Twitter.
I wouldn't spend too much time on trying to get the URL from the tweet body. This is sharing and sharing is non-standard payloads.

However, should we decide to move ahead with adding similar overlay handling for OPEN/VIEW intents, this issue goes away. Tapping on the URL in the tweet (in Twitter) will get a similar OPEN handler in Firefox... should we decide to move ahead with that plan, and I hope we do.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.