Questions tagged [hashtag]

A hashtag is an in-text label that classifies content into a specific category, first popularized by Twitter users and now common in social media.

A hashtag is a hash sign (#) followed by a string which is usually alphanumeric, without spaces, punctuation or capitalization. It is used to classify the text in which it is contained and allow searching for related content.

Because of its adoption and usage by a large user base, it has been used in the filtering, searching and sorting of tweets and posts on other supporting social media platforms.

Examples

  • #StackOverflow
  • #StackExchange
  • #1337code
834 questions
-1
votes
4 answers

Finding words that start with character will fail with new line

I am trying to write a program that highlights hashtags in tweets. but the program will fail if the tweet contains a new line, the program will work if it is just one line. Why is it failing when there is a new line in the data? I get the error…
kyle k
  • 5,134
  • 10
  • 31
  • 45
-1
votes
2 answers

didn't get full quantity of picture with same hashtag

I need show the photos from instagram with my company hash tag to my website. I'm using the code of below: $url, CURLOPT_RETURNTRANSFER =>…
Jason Kuah
  • 57
  • 1
  • 2
  • 3
-1
votes
1 answer

Get HashTags with facebook connect

I've made a very simple new app on Facebook. Then I used Facebook connect to connect on a website, and I want to get some hashtag. But I don't figure how to get them using facebook connect? Eg : I want to get the content of:…
-1
votes
3 answers

How do I match a UTF-8 encoded hashtag with embedded punctuation characters?

I want to extract #hashtags from a string, also those that have special characters such as #1+1. Currently I'm using: @hashtags ||= string.scan(/#\w+/) But it doesn't work with those special characters. Also, I want it to be UTF-8 compatible. How…
Gal Ben-Haim
  • 17,433
  • 22
  • 78
  • 131
-2
votes
3 answers

Split string into hashtagged words and non-hashtagged phrases

How can I split this string: #now my time #Cairo travel #here to become an array like this: Array ( [0] => #now [1] => my time [2] => #Cairo [3] => travel [4] => #here ) All words starting with a hash symbol can only be one word…
M.Ahmed
  • 67
  • 1
  • 9
-2
votes
1 answer

How to Sort #HashTags count in String

String like this: " My name is #shiv from #us , i watched #bahubali yesterday, #shiv is now #billgates, gate watched #bahubali in #us, #bahubali is a good #movie, #shiv is sahore #bahubali in #us"; #shiv 3 times repeated #bahubali 4 times…
Py-Coder
  • 2,024
  • 1
  • 22
  • 28
-2
votes
3 answers

Hashtag Extract function in R Programming

I am trying to create an hashtag extraction function in R. This function will extract a hashtags from a post, if there are any, else will give a blank. My function is like hashtag_extract= function(text){ match =…
Manu Sharma
  • 1,593
  • 4
  • 25
  • 48
-2
votes
1 answer

Scraping Posts of a hashtag on Facebook

Is there any way I can scrape all the posts of a particular hashtag? Basically we're running a contest and we're not making an app and rather doing it the simple way, enter by putting ‪#‎hashtag‬, so any idea how can that be done? I recently found…
Hoyo
  • 1,044
  • 3
  • 13
  • 23
-2
votes
1 answer

Show Hashtags from one user on Instagram

I have a website where i want to show a number of hashtags from a single user on Instagram using Jquery (Javascript), is that possible? and if it so, how can i do it? Thanks!
Erick Acevedo
  • 29
  • 1
  • 7
-2
votes
1 answer

Facebook api 1.0 or 2.0 search by hashtag in public posts

Is there a way to get posts by hashtag from facebook api (v1.0 or 2.0). We know that this specific function is deprecated and in version 2.0 does not returns results, in version 1.0 we get some results but we are wondering if there is an alternative…
-2
votes
2 answers

URL with Hash to be Clean URL

can someone please help me with this I want to make a url like this http://www.website.com/#contactus and would become and display a clean URL like this http://www.website.com/contactus but it will function the same as the hash url. Like when i…
-3
votes
2 answers

How to match a pound (#) symbol at the beginning of a word using regex in PHP

I need a regex to match a word that starts with #. I wrote this question How to match a pound (#) symbol in a regex in php (for hashtags), but I forgot to explain that I need the # at the beginning of a word. I need to match #word, #123, #12_sdas,…
J-Rou
  • 2,216
  • 8
  • 32
  • 39
-3
votes
1 answer

Extracting hashtags by sql

I have this problem - currently I am extracting hashtags in a C# application but now I want to move it to SQL Server. In C# I have code using a regex: var regex = new Regex(@"#\w+"); var matches = regex.Matches(item.Contents).ToList(); In T-SQL, I…
Arkadius
  • 5
  • 2
-3
votes
1 answer

Facebook get recent post with particular HashTag via API

How to get recent public post with particular hashtag from Facebook ? Is it supported by Facebook ? I do not see any related endpoint here https://developers.facebook.com/docs/graph-api/using-graph-api/v2.4
-3
votes
2 answers

I'm just curious about this JS I found

I found this Javascript somewhere and want to learn. Therefore, I'll just give questions for what I don't know. 1) I wonder why there's hashtag to the builder variable. (function($) { $(document).ready(function() { 'use strict'; var builder =…
NH Narumi
  • 9
  • 10
1 2 3
55
56