Social Share Links with Custom Icons [closed]

Social link URL’s Twitter https://twitter.com/intent/tweet?text=[TEXT] Facebook http://www.facebook.com/share.php?u=[URL]&title=[TITLE] StumbleUpon http://www.stumbleupon.com/submit?url=[URL]&title=[TITLE] Delicious http://del.icio.us/post?url=[URL]&title=[TITLE]]&notes=[DESCRIPTION] Linkedin http://www.linkedin.com/shareArticle?mini=true&url=[URL]&title=[TITLE]&source=[SOURCE/DOMAIN] Technorati http://technorati.com/faves?add=[URL]&title=[TITLE] Tumblr http://www.tumblr.com/share?v=3&u=[URL]&t=[TITLE] Reddit http://www.reddit.com/submit?url=[URL]&title=[TITLE] Google Bookmarks http://www.google.com/bookmarks/mark?op=edit&bkmk=[URL]&title=Social Share Links with Custom Icons [closed]&annotation=[DESCRIPTION] Evernote http://www.evernote.com/clip.action?url=[URL]&title=[TITLE]

Open page in Twitter app from other app – Android

Based on fg.radigales answer, this is what I used to launch the app if possible, but fall back to the browser otherwise: Intent intent = null; try { // get the Twitter app if possible this.getPackageManager().getPackageInfo(“com.twitter.android”, 0); intent = new Intent(Intent.ACTION_VIEW, Uri.parse(“twitter://user?user_id=USERID”)); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); } catch (Exception e) { // no Twitter app, revert to browser … 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

Twitter api text field value is truncated

The Twitter API has been changed recently, to support new rules regarding the 280 characters limit. To get the full text of the tweet, add parameter tweet_mode with value extended to your request parameters. Field text in the JSON response has been replaced by full_text More info here: https://dev.twitter.com/overview/api/upcoming-changes-to-tweets

Incorrect string value: ‘\xF0\x9F\x8E\xB6\xF0\x9F…’ MySQL

I was finally able to figure out the issue. I had to change some settings in mysql configuration my.ini This article helped a lot http://mathiasbynens.be/notes/mysql-utf8mb4#character-sets First i changed the character set in my.ini to utf8mb4 Next i ran the following commands in mysql client SET NAMES utf8mb4; ALTER DATABASE dreams_twitter CHARACTER SET = utf8mb4 COLLATE … Read more

Replies to a particular tweet, Twitter API

Here is the procedure to get the replies for a tweets when you fetch the tweet store the tweetId ie., id_str using twitter search api do the following query [q=”to:$tweeterusername”, sinceId = $tweetId] Loop all the results , the results matching the in_reply_to_status_id_str to $tweetid is the replies for the post.

Twitter API returns error 215, Bad Authentication Data

A very concise code without any other php file include of oauth etc. Please note to obtain following keys you need to sign up with https://dev.twitter.com and create application. <?php $token = ‘YOUR_TOKEN’; $token_secret=”YOUR_TOKEN_SECRET”; $consumer_key = ‘CONSUMER_KEY’; $consumer_secret=”CONSUMER_SECRET”; $host=”api.twitter.com”; $method = ‘GET’; $path=”/1.1/statuses/user_timeline.json”; // api call path $query = array( // query parameters ‘screen_name’ => … Read more

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