Can one style a custom Tweet button AND utilise the data attributes?

For some reason they won’t let you use the Javascript data attributes with a custom button so you have to add them to the URL in your HTML. So for your example: You would then add &text=your%20text with your text. <a href=”http://twitter.com/share?url=http%3A%2F%2Fdev.twitter.com%2Fpages%2Ftweet-button&text=my%20text%20here” target=”_blank”> The other codes are the same, just add &related= etc. Make sure … Read more

How do you include hashtags within Twitter share link text?

It looks like this is the basic setup: https://twitter.com/intent/tweet? url=<url to tweet> text=<text to tweet> hashtags=<comma separated list of hashtags, with no # on them> This would pre-built a tweet of: <text> <url> <hashtags> The above example would be: https://twitter.com/intent/tweet?url=http://www.example.com&text=I+am+eating+branston+pickel+right+now&hashtags=bransonpickel,pickles There used to be a bug with the hashtags parameter… it only showed the first … Read more

Why this error ‘ – Read-only application cannot POST ‘

Login in your app: http://dev.twitter.com/apps In the Settings tab, change the Application type to Read, Write and Access direct messages In the Reset keys tab, press the Reset button, update the consumer key and secret in your application accordingly. It looks like that resetting the keys force the change to your application type to take … Read more

Is there a way to get the twitter share count for a specific URL?

You can use the following API endpoint, http://cdn.api.twitter.com/1/urls/count.json?url=http://stackoverflow.com Note that the http://urls.api.twitter.com/ endpoint is not public.) The endpoint will return a JSON string similar to, {“count”:27438,”url”:”http:\/\/stackoverflow.com\/”} On the client, if you are making a request to get the URL share count for your own domain (the one the script is running from), then an AJAX … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)