Giter Site home page Giter Site logo

Comments (8)

passbe avatar passbe commented on July 23, 2024

@stuartgpalmer looks like the API library behind the extension is throwing that error, are there any more error details you can possibly give me?

from twitter.

stuartgpalmer avatar stuartgpalmer commented on July 23, 2024

Hi. More specifically, when I enter the key, secret and screen name and save the preferences everything seems fine. It is only when I enter the oauth token and secret that the error starts being thrown on the preferences page. The data sources still work fine, so the only issue is the prefs page. Thanks. Stuart

from twitter.

veryphatic avatar veryphatic commented on July 23, 2024

Hey Ben, same problem here, but unable to get the Twitter account details into the prefs screen.

[/home/veryphatic/public/site.com/extensions/twitter/lib/twitter-async/EpiOAuth.php:404]
    EpiOAuthException::raise();
[/home/veryphatic/public/site.com/extensions/twitter/lib/twitter-async/EpiOAuth.php:45]
    EpiOAuthResponse->__get();
[/home/veryphatic/public/site.com/extensions/twitter/extension.driver.php:88]
    EpiOAuth->getAuthenticateUrl();
[/home/veryphatic/public/site.com/symphony/lib/toolkit/class.extensionmanager.php:603]
    extension_Twitter->preferences();
[/home/veryphatic/public/site.com/symphony/content/content.systempreferences.php:114]
    ExtensionManager::notifyMembers();
[/home/veryphatic/public/site.com/symphony/lib/toolkit/class.administrationpage.php:430]
    contentSystemPreferences->view();
[/home/veryphatic/public/site.com/symphony/lib/core/class.administration.php:256]
    AdministrationPage->build();
[/home/veryphatic/public/site.com/symphony/lib/core/class.administration.php:454]
    Administration->__buildPage();
[/home/veryphatic/public/site.com/index.php:22]
    Administration->display();

from twitter.

briandrum avatar briandrum commented on July 23, 2024

Same issue here: install and enable extension, add Username, Consumer Key and Consumer Secret, save, and the Preferences page reads:

Symphony Fatal Error:

An error occurred in /srv/www/staging.briandrum.net/public_html/extensions/twitter/lib/twitter-async/EpiOAuth.php around line 432

427 switch($response->code)
428 {
429 case 400:
430 throw new EpiOAuthBadRequestException($message, $response->code);
431 case 401:
432 throw new EpiOAuthUnauthorizedException($message, $response->code);
433 default:
434 throw new EpiOAuthException($message, $response->code);
435 }
436 }
''''

from twitter.

thebestsophist avatar thebestsophist commented on July 23, 2024

I think I had the same problem when I was first setting up. You may need to set a Callback URL in your application details at dev.twitter.com

from twitter.

briandrum avatar briandrum commented on July 23, 2024

Thanks Bernard, setting a Callback URL did resolve the issue.

from twitter.

stuartgpalmer avatar stuartgpalmer commented on July 23, 2024

This also works for me, I simply set the callback URL as the same as the website URL in the app settings.

from twitter.

passbe avatar passbe commented on July 23, 2024

That's for having a look into this guys. I will hopefully get time this month to look into the problem closer.

from twitter.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.