[object Object] error configuring data-text on an anchor tweet button


#1

Hi there!

Im trying to use tweet button on our portal. Everithing works fine but there is a problem in one of our pages because data-url is not working and appears an [object Object] on i’ts place.

[object Object] http://www.localhost.com:8090/Patricia-Crespo/opinión-Hotel-Penarronda-Playa_255413_o.html vía @Toprural

Even an example of configuring data-attributes doesn’t work https://dev.twitter.com/docs/tweet-button

Tweet Result: [object Object] https://dev.twitter.com/pages/tweet_button vía @your_screen_name

Has someone a similar problem?

Thanks


#2

Can you view the interpreted HTML source code of the page your putting the button on? Perhaps your portal or CMS is in some way interfering with the values you have set?


#3

hoho


#4