FOSTwitterBundle
FOSTwitterBundle copied to clipboard
Symfony 2.1 composer.phar - find kertz/twitteroauth ??
Hey guys,
i have a problem with 'php composer.phar update "kertz/twitteroauth"'.
Problem 1
- The requested package kertz/twitteroauth could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for friendsofsymfony/twitter-bundle * -> satisfiable by friendsofsymfony/twitter-bundle 1.0.0.
- friendsofsymfony/twitter-bundle 1.0.0 requires kertz/twitteroauth * -> no matching package found.
What i'm doing wrong? -> tested git submodules - doesnt work
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 - The requested package minimum-stability could not be found in any version, there may be a typo in the package name. Problem 2 - Installation request for friendsofsymfony/twitter-bundle * -> satisfiable by friendsofsymfony/twitter-bundle[1.0.0]. - Conclusion: remove symfony/symfony v2.2.4 - friendsofsymfony/twitter-bundle 1.0.0 requires symfony/security-bundle 2.0 .* -> satisfiable by symfony/symfony[2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.9], symfony/security-bundle[2.0.7, v2.0.10, v2.0.12, v2.0.13, v2. 0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2 .0.23, v2.0.9]. - Can only install one of: symfony/symfony[v2.2.4, 2.0.7]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.10]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.11]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.12]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.13]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.14]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.15]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.16]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.17]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.18]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.19]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.20]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.21]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.22]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.23]. - Can only install one of: symfony/symfony[v2.2.4, v2.0.9]. - don't install symfony/security-bundle 2.0.7|don't install symfony/symfony v2.2.4 - don't install symfony/security-bundle v2.0.10|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.12|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.13|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.14|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.15|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.16|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.17|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.18|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.19|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.20|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.21|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.22|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.23|don't install symfony/symfon y v2.2.4 - don't install symfony/security-bundle v2.0.9|don't install symfony/symfony v2.2.4 - Installation request for symfony/symfony == 2.2.4.0 -> satisfiable by symf ony/symfony[v2.2.4].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min imum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion f or more details.
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 :)