FriendsOfSymfony / FOSTwitterBundle

UNMAINTAINED. Please use HWIOAuthBundle as a replacement for FOSTwitterBundle.
http://friendsofsymfony.github.com/
146 stars 38 forks source link

Symfony 2.1 composer.phar - find kertz/twitteroauth ?? #52

Open Bubelbub opened 11 years ago

Bubelbub commented 11 years ago

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

stof commented 11 years ago

the issue is probably the minimum stability (as suggested by the next part of the composer error message)

Bubelbub commented 11 years ago

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?

Baachi commented 11 years ago

@Bubelbub Add this to your composer.json:

"require": {
    "kertz/twitteroauth": "dev-master@dev"
}
dodev34 commented 11 years ago

Add this on your composer. Its work for me! "minimum-stability": "dev"

inesbd commented 11 years ago

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.

Baachi commented 11 years ago

@inesbd Move the "minimum-stability": "dev" outside of the require section.

inesbd commented 11 years ago

it is already!!

Baachi commented 11 years ago

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.

inesbd commented 11 years ago

@Baachi how can i install dev-master??

Baachi commented 11 years ago

Set the version constraint to dev-master.

"require": {
    "kertz/twitteroauth": "dev-master"
}
inesbd commented 11 years ago

@ Baachi: but i'm using FOSTwitterBundle not twitteroauth

Baachi commented 11 years ago

@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"
}
inesbd commented 11 years ago

@Baachi: What about FOSUserBundle ? shall i install it at the bigining?

Baachi commented 11 years ago

The order in composer.json is not relevant.

inesbd commented 11 years ago

@Baachi: is there any documentation to install twitteroauth?

Baachi commented 11 years ago

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

inesbd commented 11 years ago

@Baachi: i'm sorry but i don't understand how can i istall it to make FOSTwitterBundle working :(

Baachi commented 11 years ago

I guess this bundle is depreacted (because the twitter/anywhere feature is depreacted), you can also use HWIOAuthBundle which is better documented.

inesbd commented 11 years ago

i have already tryed it and it didn't work, i have encountred many problems, did you use it?

Baachi commented 11 years ago

Not with twitter but with google.

inesbd commented 11 years ago

did you followed the installation's instraction from the documentation of HWIOAuthBundle?

Baachi commented 11 years ago

Jep and it works like a charm

inesbd commented 11 years ago

happy for you, for me not yet :(

inesbd commented 11 years ago

@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

Baachi commented 11 years ago

@inesbd Can you open an issue on HWIOAuthBundle, its not related to this Bundle anymore.

inesbd commented 11 years ago

ok

Baachi commented 11 years ago

You can also email me ;)

inesbd commented 11 years ago

oh thank's it's pleasur :)