-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using thujohn/twitter with philo/twitter #35
Comments
Hi. Did you try renaming the two aliases ? e.g. Jtwitter and Ptwitter |
I tried renaming the aliases, and stackoverflow/stacktrace and logs. Can't get the two working even after changing the aliases because the namespaces are the same. Ideas? |
I think I fixed it. Can you try again with the two aliases ? |
I did a composer update and the two packages still have a namespace conflict. Here is an example of how I'm trying to use the two packages together: public function showHome()
|
I have the same and it works |
I'm testing it with both packages and my alias are written like this: 'PhiloTwitter' => 'Philo\Twitter\Facades\Twitter', And when I try to use the PhiloTwitter package it says it's looking for the PhiloTwitter Oauth method in ThujohnTwitter "Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR) |
I created a new project with only this and it works : http://laravel.io/bin/kkBBm Maybe you should try in a new project too. |
ok let me keep trying :) |
I started using the updated version of the package with the new oauth functions. It's working really well :) It solves the problem I was having because now I only have to use one package for everything. Thanks! |
I'm glad somebody else found it useful. This is a great package but I really was missing the functions needed to handle login with Twitter. Let me know if you find any issue, I'll be happy to help. |
I'm writing a Laravel 4 app that uses the getUserTime function of Thujohn (and works wonderfully) but for another aspect of my app, I'm using philo/twitter's oauth (which also works very well). The problem is that the namespaces for both of the packages are the same. Do you have any suggestions on how to get the Thujohn package to be recognized specifically for the functions I need it for and have function calls get confused with the philo/twitter package? I tried renaming the alias, hardcoding the use in the controllers, etc. If it could be a clue to help you help me, I have noticed that when I reverse the order of the package listing in config/app.php that the opposite package will start working.
Any advice would be much appreciated! Thanks!!
The text was updated successfully, but these errors were encountered: