C Wilson Posted March 14, 2017 Share Posted March 14, 2017 We've got our main school Twitter feed embedded onto our staff dashboard and both myself as an admin user and staff users can view it fine. When I've used the exact same snippet of code on our student dashboard and I log in with one of their accounts it just displays "Tweets by @kw_sch" which links directly to our Twitter page but it doesn't displays the tweets! When I access the student dashboard with a staff account it displays as expected. This is the code used: <a class="twitter-timeline" data-height="800" data-dnt="true" href="https://twitter.com/kw_sch" data-widget-id="382877609094168576">Tweets by @kw_sch</a> <script>if (typeof twttr != "undefined") twttr.widgets.load();</script> You can see what I mean in the screenshots. Has anyone stumbled across this issues before? Just wondering if it has something to do with any groups or policies settings?? Link to comment Share on other sites More sharing options...
Nick Esdale Posted March 16, 2017 Share Posted March 16, 2017 Hi C Wilson, This looks like a proxy/networking issue. (can students view the https://twitter.com/kw_sch page?) Nick 1 Link to comment Share on other sites More sharing options...
C Wilson Posted March 17, 2017 Author Share Posted March 17, 2017 Hi Nick, Students have access to Twitter in school. I actually tested it on my workstation which also has unrestricted internet access so I'm not sure it's a networking issue. Chris Link to comment Share on other sites More sharing options...
vikpaw Posted June 1, 2017 Share Posted June 1, 2017 In order for the code to work, there has to be another overarching bit of script pulled in, ideally on a dashboard. If it's not present for students then it wouldn't work, the second line in your example would not be able to call the correct bit of code. Staff users probably have this on their dash, and so they can access the student site ok. I'm no expert, but it seems reasonable logic - i had similar issues and got some code of the twitter dev site which appears the same as the code supplied in the frog help site below, except twitter didn't give the extra test for twttr != "undefined" . I've now followed the steps given in the link below and it works. Check this https://www.frogcommunity.com/app/os#!twitter-embed/ and try adding the step 1 code for students. The above is assuming there isn't a standard dash for all users (staff + students) which already contains this code. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now