Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

View twitter shares doesnt work properly #638

Open
bhuvak opened this Issue · 2 comments

3 participants

@bhuvak
Collaborator

[anurse]
Right now we include the scheme in the URL we give Twitter. This causes this problem and also means there is a difference between http://nuget.org/packages/jQuery and httpS://nuget.org/packages/jQuery, which is bad.

  1. Post twitter messages for a package from preview.nuget.Org.
  2. The "no of tweets" button on packages page gets updated after a long time.
    Guess, its not in our control and that's how the tweeter plugin behaves.

  3. Once it updates the number say to "2" , clicking on that takes me to twitter search result for "https://preview.nuget.org/package/packagename" and the search always returns 0 results.
    This also looks like some issue on twitter side, but it is a really required info.
    As an end user, I would be interested in seeing what people have shared about this page.

@robertmuehsig

One option would be to collect the social sharing numbers with a background worker for http/https (e.g. a Web Job) and store it inside the database.
With such a background job in place the nuget gallery would not need to include the Twitter/Facebook Javascript files - which is better for performance and privacy. On example of such a "customized" social sharing links would be this (German) news site: http://www.golem.de/news/owncloud-dropbox-alternative-fuers-heimnetzwerk-1404-105843.html

Requirements:

  • Background-Job (could also be inside the NuGet Gallery)
  • Storage inside the database

What do you think?

@anurse
Collaborator

Yeah... it could definitely work (in our case it would have to live in the NuGet.Services.Work repo). I'm not sure we're seeing a huge demand for the feature though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.