Building Twitter profile image url with Twitter user id

With API 1.1 you can achieve this using these URLs: https://twitter.com/[screen_name]/profile_image?size=mini https://twitter.com/[screen_name]/profile_image?size=normal https://twitter.com/[screen_name]/profile_image?size=bigger https://twitter.com/[screen_name]/profile_image?size=original Official twitter documentation Profile Images and Banners Example https://twitter.com/TwitterEng/profile_image?size=original will redirect to https://pbs.twimg.com/profile_images/875168599299637248/84CkAq6s.jpg

Twitter API – Display all tweets with a certain hashtag?

This answer was written in 2010. The API it uses has since been retired. It is kept for historical interest only. Search for it. Make sure include_entities is set to true to get hashtag results. See Tweet Entities Returns 5 mixed results with Twitter.com user IDs plus entities for the term “blue angels”: GET http://search.twitter.com/search.json?q=blue%20angels&rpp=5&include_entities=true&with_twitter_user_id=true&result_type=mixed

Twitter – share button, but with image

Look into twitter cards. The trick is not in the button but rather the page you are sharing. Twitter Cards pull the image from the meta tags similar to facebook sharing. Example: <meta name=”twitter:card” content=”summary_large_image”> <meta name=”twitter:site” content=”@site_username”> <meta name=”twitter:title” content=”Top 10 Things Ever”> <meta name=”twitter:description” content=”Up than 200 characters.”> <meta name=”twitter:creator” content=”@creator_username”> <meta name=”twitter:image” … Read more

Is there a way to get a user’s email ID after verifying his/her Twitter identity using OAuth?

The user’s email address can not be retrieved via the API. This is a deliberate design decision by the API team. UPDATE 2015.08.18: It is possible to request an email address from users, but it requires your app to be whitelisted. See https://dev.twitter.com/rest/reference/get/account/verify_credentials for details of the API call and this form to request whitelisting … Read more

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