Open Bubelbub opened 11 years ago
the issue is probably the minimum stability (as suggested by the next part of the composer error message)
And how could i solve the Problem?
In Few Minutes i Check if there is a Parameter for ignoring the Minimum Version. But what if there is no Parameter?
@Bubelbub Add this to your composer.json:
"require": {
"kertz/twitteroauth": "dev-master@dev"
}
Add this on your composer. Its work for me! "minimum-stability": "dev"
I have the same problem, when i run this command php composer.phar update friendsofsymfony/twitter-bundle this error is shown:
Problem 1
Potential causes:
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
@inesbd Move the "minimum-stability": "dev"
outside of the require
section.
it is already!!
Ah sorry @inesbd, the problem is that you have symfony 2.2.4 installed and you are try to install friendsofsymfony/twitter-bundle with version 1.0.0
but you need to install dev-master
.
@Baachi how can i install dev-master??
Set the version constraint to dev-master
.
"require": {
"kertz/twitteroauth": "dev-master"
}
@ Baachi: but i'm using FOSTwitterBundle not twitteroauth
@inesbd Yes i know, but the FOSTwitterBundle
use twitteroauth
.
Your composer.json
should looks like this:
{
"require": {
"symfony/symfony": "2.2.*",
"doctrine/orm": "2.3.*",
"friendsofsymfony/twitter-bundle": "dev-master",
"kertz/twitteroauth": "dev-master"
}
@Baachi: What about FOSUserBundle ? shall i install it at the bigining?
The order in composer.json
is not relevant.
@Baachi: is there any documentation to install twitteroauth?
I never used this library (or this bundle), but i found this file in the master
branch: https://github.com/kertz/twitteroauth/blob/master/DOCUMENTATION
Hope it helps
@Baachi: i'm sorry but i don't understand how can i istall it to make FOSTwitterBundle working :(
I guess this bundle is depreacted (because the twitter/anywhere feature is depreacted), you can also use HWIOAuthBundle
which is better documented.
i have already tryed it and it didn't work, i have encountred many problems, did you use it?
Not with twitter but with google.
did you followed the installation's instraction from the documentation of HWIOAuthBundle?
Jep and it works like a charm
happy for you, for me not yet :(
@Baachi: i retrayed the implementation of HWIOAuthBundle i have the fcebook page authentification but after loging in i have this error "Unable to generate a URL for the named route "hwi_oauth_connect_service" as such route does not exist."
please help
@inesbd Can you open an issue on HWIOAuthBundle, its not related to this Bundle anymore.
ok
You can also email me ;)
oh thank's it's pleasur :)
Hey guys,
i have a problem with 'php composer.phar update "kertz/twitteroauth"'.
What i'm doing wrong? -> tested git submodules - doesnt work