ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
754 stars 142 forks source link

Improving the feature for sharing results via OONI Probe #1849

Open agrabeli opened 2 years ago

agrabeli commented 2 years ago

During the October 2021 OONI Community Meeting, a community member mentioned that they'd like to see the feature for sharing results (via OONI Probe) improved.

In particular, they shared:

"I think the result sharing button on mobile, which only provides Explorer links, is very simple and can be improved. My initial idea was: The link comes with an image and hashtags related to OONI and the respective country. And maybe the OONI Run link."

They shared the following as an example:

example.com is blocked/accessible in #Iran on NETWORK NAME #OONIhastag https://explorer.ooni.org/..... measurement

@hellais mentioned: "I think it’s an interesting idea, however I am not sure if it’s technically possible to pass that sort of data from the share button over to the twitter app and ensure that for other apps it works as a simple link. For example, I think we would like to preserve the ability to “share to” the browser application, but if the content of the share “payload” is more than just a URL I fear that might break."

Then @sarathms mentioned: "To some extent this can be done on OONI Explorer. In fact, one of our GSoC projects last year was related. The idea was to generate images, almost exactly like the screenshot above, as the image associated with a measurement link." Referring to: https://github.com/ooni/explorer/pull/480

The community member mentioned that it would be great if this could be done for OONI Probe as well, as there is a need for data/hashtag that is easily searchable by groups in each country (for easy searching and investigations).

lorenzoPrimi commented 2 years ago

It seems like an overcomplication. Some people might only want to share the link and not hashtags or other stuff or they want to share a message they compose, we can't forget about these users.

xhdix commented 2 years ago

@lorenzoPrimi I think having both is good. But having these items, in addition to improving the appearance and enhancing the visibility of related posts on social media and attractiveness, can help many different groups that are looking for such reports. (when even RSS of Explorer is not working)

hellais commented 2 years ago

We discussed this with @aanorbel and it seems like the best way to address is to:

  1. Ensure that the right og meta tags are being set in the relevant explorer tags (we should already we be doing this)
  2. Adding support for the og:image so that the image preview is displayed when sharing a link to a page (to do this we should merge: https://github.com/ooni/explorer/pull/480)

If we have these two merged, when somebody shares an explorer page they will get a nice infobox in the tweet or other social media that looks like this:

Screenshot 2022-04-11 at 11 11 14