Using @Anywhere with Protoype.js

11 views
Skip to first unread message

jmdo

unread,
May 17, 2011, 1:36:01 PM5/17/11
to Twitter Development Talk
Hi,

we have a project using Prototype.js. We tried to use the javascript
api @anywhere to add a 'sign with Twitter' functionnality and the
ability for our users to post directly from our site.

but when the API is initialized, we start to encounter several errors.
Looking at the scripts loaded, I can see that jquery.min.js is loaded
from ajax.googleapis.com, and that causes a conflict.

Is there anyway to use the API with Prototype.js?

Cheers,

JM

Yogesh

unread,
Jun 4, 2011, 3:37:41 AM6/4/11
to Twitter Development Talk
Hi JM,

This looks like more of a jQuery/Prototype issue than twitter.

Check jquery docs here on how to use them both on same page without
conflicts.
http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Yogesh

jmdo

unread,
Jun 4, 2011, 4:02:40 AM6/4/11
to Twitter Development Talk
Thanks Yogesh,

as I am aggregating many applications, I have finally used server-side
APIs.

I will give a try anyway, as it looks it was the reason of my
problems.

JM


On 4 juin, 09:37, Yogesh <yogesh.aga...@gmail.com> wrote:
> Hi JM,
>
> This looks like more of a jQuery/Prototypeissue than twitter.
>
> Check jquery docs here on how to use them both on same page without
> conflicts.http://docs.jquery.com/Using_jQuery_with_Other_Libraries
>
> Yogesh
>
> On May 17, 10:36 pm, jmdo <jmdormo...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > we have a project usingPrototype.js. We tried to use the javascript
Reply all
Reply to author
Forward
0 new messages