Question

I am trying to integrate Disqus comments to my Android application, and I am following this tutorial:

http://globeotter.com/blog/disqus-android-code/

I didn't understand well part about disqus_identifier. As you can see from the code below I use this code to acces showcomments.php on my server.

webDisqus.loadUrl("http://balkanandroid.com/showcomments.php?disqus_id="+identifer);

Where identifer is part of url behind top level domain name, something like this:

http://balkanandroid.com/graficka-evolucija-nexus-telefona/ And I use /graficka-evolucija-nexus-telefona/ as disqus identifer.

And I get this error message:

We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Here is server side php code>

Was it helpful?

Solution

Based on the example code provided, this is a pretty easy fix. Just change this line:

var disqus_shortname = '<balkanandroid>';

to this:

var disqus_shortname = 'balkanandroid';

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top