Twitter plugin

By gversion - December 28, 2012

Hello,

I have installed the Twitter plugin by the following the instructions in the readme text file. When I add the following line of code I receive a blank white page:

   <?php if (@$GLOBALS['TWITTERAPI_ENABLE_LOGIN']): ?>
    <a href="<?php echo twitterLogin_getTwitterLoginUrl();?>">Login with Twitter</a><br/><br/>
  <?php endif ?>

I have used Firebug to try and figure out the problem and under the errors tab it says:

NetworkError: 500 Internal Server Error

Could somone please help me to resolve this problem? I do not have the Facebook plug-in installed but I will do this once Twitter is working.

Thank you,

Greg

By gversion - December 28, 2012

Hello,

It seems there is a colon in the readme file example code that was causing the problem:

<?php if (@$GLOBALS['TWITTERAPI_ENABLE_LOGIN']): ?>

Once I removed the colon before the question mark the code worked correctly.

Hope this helps!

Greg

By gregThomas - January 31, 2013

Hi Greg,

Please could you fill out a second level support request for me?

https://www.interactivetools.com/support/email_support_form.php

I will take a closer look at what might be causing the issue.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By gversion - January 31, 2013

Hi Greg,

I have actually got this working too so no need to help with this.

Thanks again as always.

Greg

By Pamel13 - February 1, 2013

Hello,

That's a very nice idea...thanks for sharing.