Open lwilson opened 6 years ago
Hi Lucas,
303
is the HTTP status used by Moodle to redirect you to the login page: this will happen to those courses restricted to "selected" i.e enrolled users.
To let the card work, you should think about the course visibility: meta tags are there - except for bugs - but Twitter cannot access them since the course page is restricted to enrolled users i.e. it requires a valid user.
Unfortunately the course cannot be opened to Twitter unless changing some logic to mimic what already available for Google (https://docs.moodle.org/33/en/Search_engine_optimization#Moodle_settings).
HTH, Matteo
The twittercard plugin works for our main site page (https://learn.tacc.utexas.edu), but it can't seem to generate cards for specific courses (I've been using https://learn.tacc.utexas.edu/course/view.php?id=10 as a test).
When I use cURL to pull the HTML, it appears that the URL resolves to an automatic redirect:
Is there a specific way the course needs to be setup for the callbacks to work? Am I using the wrong URL perhaps?
Thanks!