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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
10 views

div contentEditable hastag get correct cursor position

I'm trying to solve the cursor positon when I use div contentEditable. If anybody has any thoughts, working code snippets or samples I'd be happy to see them. I used many ways to solve this but failed....
DonjingZheng's user avatar
0 votes
0 answers
11 views

Hashtag searches and Japanese full text search in elasticsearch

We are trying to incorporate hashtag searches and Japanese full text searches in our data. We were able to achieve them separately but when we try to combine the two configs together, it doesn't work ...
Hari Ram's user avatar
  • 316
0 votes
0 answers
24 views

Facebook like input box which supports user mentions and hashtags using react-native

I am working on a feature. I need to show the hashtags and user mentions in blue color inside the TextInput, and when I delete the user mentions and hashtags entire word should be deleted just like ...
Lokendra Singh's user avatar
0 votes
0 answers
52 views

MS Access Long Text field shows hashtag ####

I have searched the solution for my MS Acccess hashtag (#'s) issue showing up in my Long Text field, but I cannot find it. I have a Current Comment (txtCurComment) field (Long Text) on a form that ...
user3754205's user avatar
0 votes
1 answer
176 views

Flutter web - go_router - read value after hash #

Given the url: /path#someValue I would like to get the value after #, which is exactly the someValue. GoRoute(path: 'path', pageBuilder: (context, state) { // I need to get: `someValue` here }), I ...
Tom Raganowicz's user avatar
0 votes
0 answers
59 views

Fetching tweets from Twitter api

How can I get more than 1000 tweets from the Twitter using api for free? The free version Twitter api giving only access to tweet and delete on the Twitter account. I used rapid api but I got only ...
Pranav Pt 's user avatar
0 votes
2 answers
61 views

Add newlines to separate text and only hashtags that appear at the end of the string

I've already tried a couple of regex but cannot fix this one: I need an enter line before the hashtags start (so there is some space). Example: It's essential to keep your pup cool in the summer ...
Jamie's user avatar
  • 10.5k
0 votes
0 answers
96 views

Can we get posts data using #hashtags from Linkedin

I have extensively reviewed the documentation for API v2 and could not locate any references to hashtags. Therefore, I am curious to know if it is feasible to obtain public posts, from both ...
Maaz Irfan's user avatar
0 votes
1 answer
127 views

how to create hashtag for a gerrit cahnge from ssh?

I wanted to create hashtag using ssh gerrit command. Example: i tried below ssh -p 22 server.com gerrit set-reviewers --add "#bugfix" 123455 its giving error account bugfix not found also ...
unblocker's user avatar
1 vote
0 answers
51 views

How to scroll All Search Hashtag result in instagram With SELENIUM

I want to get all the users using #book from the Instagram site, but I can only get one page of results, If there are about 2000 pages. This code does not work properly : EOS = wd.execute_script('...
morymory's user avatar
0 votes
0 answers
112 views

Create a hashtag in the text view swift

I found this question: I'm implementing a hashtag recognizer in UITextView but it never highlights two words with the same beginning?. By doing that I want to check the user's run time input text on ...
Sham Dhiman's user avatar
  • 1,386
1 vote
1 answer
61 views

Regular expression can't match the whole Bengali word

I'm trying to use regular expression to match hashtags. When the language of a hashtag is English or Chinese, my code works fine. But when the language is Bengali, my code can't match the whole ...
Ian Y.'s user avatar
  • 2,325
0 votes
0 answers
18 views

# before name value in usemap [duplicate]

why to put # before the name value in usemap attribute? like this: <img src="workplace.jpg" alt="Workplace" usemap="#workmap"> <map name="workmap&...
caster's user avatar
  • 1
2 votes
1 answer
52 views

Regex function to split words and numbers in a hashtag in a sentence

I need a regex function to recognize a hashtag in a sentence, split the words and numbers in the hashtag and put the word 'hashtag' behind the hashtag. For example: Input: #MainauDeclaration2015 ...
LaLuna Kon's user avatar
0 votes
0 answers
59 views

How to get specific hashtagged posts from facebook and linkedin to webpage in wordpress?

I want to create socialwall. I want to get public posts from facebook and linkedin having specific hashtag on my webpage. For example: If some post have caption as "#technology", Then I want ...
Neha Thorat's user avatar
1 vote
2 answers
195 views

Regex to remove hashtags but to keep first hashtag

I want to remove all hashtags from a text but it should keep the first hashtag Example text: This is an example #DoNotRemoveThis #removethis #removethis #removethis Expected result: This is an ...
nemak ner's user avatar
1 vote
1 answer
68 views

How to extract the text part of hastags using tweepy?

I am trying to scrape some data from twitter to perform sentiments analysis, I want to be able to get the username, tweets, number of likes, number of retweets, location, date and hashtag. Every other ...
PAnsah's user avatar
  • 11
0 votes
0 answers
88 views

Include all emojis and some special characters in hashtag link using Regex in PHP

I'm extracting usernames from a string starting with # sign and converting to a hashtag link. For this my code is $str = "#John_Smith #💥DanielCarter and #Jack🙂Foster are the good programmers&...
The Eagle's user avatar
2 votes
2 answers
81 views

Extracting hashtags and sections in document in ruby

I have a markdown text document with several sections and just below hashtags of the section. The hashtags are in the form #oneword# or #multiple words hashtag#. I need to extract sections and their ...
somenxavier's user avatar
  • 1,255
-1 votes
2 answers
689 views

How to remove # from hashtag using Python RegEx

My requirement is to remove leading "#" symbol from hashtags in a text. For example, sentence: I'm feeling #blessed. should transform to I'm feeling blessed. I have written this function, ...
Gopal Sharma's user avatar
0 votes
1 answer
41 views

group all elements in arrays from mongo db

I have data in mongodb and it contains many fields, one of them is the content of the tweet that I scraped, all I want is to get all hashtags from the content then group them. my data looks like that: ...
Hadi Monzer's user avatar
0 votes
0 answers
211 views

Instagram API Tag Search

I am not able to find user_id that needs this url request. https://graph.facebook.com/ig_hashtag_search?user_id=XXXXX&q=coke I need to get tag_id in order to get posts with this tag. Where can I ...
user1977269's user avatar
1 vote
0 answers
307 views

How to Search Facebook hashtags with GraphApi

I only want to search for all public posts with a specified Hashtag in it. For example i want to find all public posts with the Hashtag "#covid" in a specified timespan of 1 Year. Can i ...
asmaa mahmoud's user avatar
1 vote
0 answers
56 views

How to create different hashtags for different NFTs

In the process of creating an NFT MarketPlace, I want to be able to write a hashtag for each NFT. I tried to make this function. When the button(Tooltips) is clicked, the Modal screen is displayed so ...
tnrms08's user avatar
  • 11
1 vote
1 answer
1k views

Is there a faster way of adding comment hashtags into both sides of a program in VSCode to make the program visually nicer to look and read from?

Good Morning, I've been updating my program's code by including comments that explains what each section of code does. Because of this, I decided to add hashtags on both sides of the code as well in ...
omar7439's user avatar
0 votes
1 answer
93 views

Limit HTML tags generated by JS

JS code below catches words from an input as hashtags and turn them to HTML span tag. I just need to put limitation at the amount of words and span tags that are generated by user. For example 10 ...
Sajed Khoshkar's user avatar
1 vote
1 answer
867 views

Generate Instagram related Hashtags - API

I'm trying to generate multiple related hashtags based on the keyword entered by the user. For example: if the user has typed 'meme', it would generate multiples hashtags related to it (memes, funny ...
shakky's user avatar
  • 464
0 votes
1 answer
284 views

Regex to match a condition UNLESS it is a hashtag

I am trying to write a regex statement to remove digits or words that contain digits in them only if they are not a hashtag. I am able to succesfully match words that have digits in them, but cannot ...
Waleed Alfaris's user avatar
0 votes
1 answer
226 views

How to create a dataframe from extracted hashtags?

I have used below code to extract hashtags from tweets. def find_tags(row_string): tags = [x for x in row_string if x.startswith('#')] return tags df['split'] = df['text'].str.split(' ') ...
Piyush Ghasiya's user avatar
1 vote
1 answer
2k views

How to get the number of tweets from a hastag in python?

I am trying to get the number of tweets containing a hashtag (let's say "#kitten") in python. I am using tweepy. However, all the codes I have found are in this form : query = "kitten&...
flar-tsi's user avatar
1 vote
1 answer
2k views

How to extract hashtags from Tweets in pandas data frame?

I have a dataset of tweets with several variable (columns) and I want to extract all the hashtags from a tweet (text) and place the result in a new column (hashtags). Below is what I am trying: import ...
Piyush Ghasiya's user avatar
0 votes
1 answer
306 views

Redirect from a URL without a hash to a URL with a hash

On Apache, I want to create a URL redirect rule using .htaccess. The expected incoming URL will be formed according to the following pattern: [PROTOCOL]://[domain name]/i/[INTEGER]/[INTEGER]/[STRING] ...
vrtjason's user avatar
  • 531
1 vote
3 answers
251 views

Performatic way to count hashtags inside list (pandas)

I have a dataframe with ~7.000.000 rows and a lot of columns. Each row is a Tweet, and i have a column text with tweet's content. I created a new column just for hashtags inside text: df['hashtags'] = ...
lmalmeida's user avatar
  • 145
2 votes
0 answers
95 views

How can I solve my problem posting number sign to make a hashtag?

I'm trying to post # sing to make some words turn to hashtags but the code doesn't work and it's via API using this code: true == function() { var getMyItem = function (str) { if (sessionStorage....
mohsen haqiqat's user avatar
-3 votes
1 answer
206 views

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 ...
Arkadius's user avatar
1 vote
1 answer
219 views

Join Hashtag list python give a single letter

Hi guys I have a problem. I did a twitter scraper work for my thesis inorder to obtain some texts and hashtags to process. So the problem is the seguent: in the hashtag column, I have all rows such as:...
Jhonny's user avatar
  • 162
0 votes
1 answer
824 views

Hash in history mode router, breaks dynamic URL in Vue

Using Vue 2.6.14, Vue Router set to history mode, URL containing a hashtag "#" breaks dynamic path. const router = new VueRouter({ base: `${process.env.VUE_APP_PUBLIC_PATH}`, mode: '...
Sebastian F's user avatar
0 votes
2 answers
2k views

Flutter : read more and hashtags in text

I want to have an Instagram like caption with "more.." and hashtags . I use readmore package for "more..." and hashtagable package for hashtags . But I want to combine these two . ...
mm sh's user avatar
  • 312
0 votes
1 answer
283 views

How can I extract hashtags from strings and export as a csv?

I use the following function to extract hashtags from text data: a <- c("#aaa", "#bbb", "#ccc") hashtag_pat <- "#[a-zA-Z0-9_-ー\\.]+" hashtag <- ...
Chamil Rathnayake's user avatar
0 votes
1 answer
77 views

search not returning query

Sorry my english. I'm trying to search mysql database that contains hashtags, but it returns all. eg Search #NBA returns: #NBA, #NBA2021, #NBAscoreBoard, etc I've tried every preg_replace on here. eg #...
ho77iday's user avatar
1 vote
0 answers
165 views

instaloader.exceptions.QueryReturnedNotFoundException: 404 Not Found

I will download photos of hashtags on instagram with "instaloader". But I am encountering such an error. Can you help me?
Hatice Özdemir's user avatar
0 votes
1 answer
331 views

Escape hashtag sign in shell for git alias

I have a git alias i use, here: [alias] wrapup = "!f() { number=$(git rev-parse --abbrev-ref HEAD | tr -dc '0-9'); git add . && git commit -m "\"Close #$number"\"; ...
AStyltsvig's user avatar
0 votes
0 answers
41 views

Not able to extract screen name when analysing trending hashtag on R

I have recently started learning to use R. I am trying to analyze the tweets consisting of #squidgame. I have finished the authentification and collected the tweets. However, when I try to find the ...
Renuka Kennedy's user avatar
1 vote
1 answer
65 views

Get #prefixed words in a string and replace them to clickable links

I have some strings with #prefixed words in it For Example: Comment 1: I am a #smart person. Comment 2: I love to #code new things. Comment 3: I have a #new concept. I want it to find the #items in ...
Karthik's user avatar
  • 105
2 votes
1 answer
352 views

Django Find Hashtags in String and Replace It by Wrapping It in <a> Tag

I am making a social media site, and I want to enable hashtags. For example, if a user creates a post like this: Summer is gone. #sad #comeback #summer I want to use python to replace all occurrences ...
John Doe's user avatar
  • 521
1 vote
0 answers
141 views

PHP Giving links to hashtags and URLs at the same time

I have a code that converts hashtags to clickable links. function convertAll($str) { $regex = "/[@#]([\w\.\-]+)/"; $hrefs = [ '#' => 'hashtag?tag', '@' => 'users?user' ...
Deniz Şafak's user avatar
0 votes
1 answer
696 views

Two hashtags instead of one in href attribute for HTML Anchor tag

I thought this would be simple to find the answer, but I'm not finding one. I know the purpose of one hashtag in the href attribute of an anchor tag: <a href="#"> However, every so ...
apex2022's user avatar
  • 777
0 votes
1 answer
139 views

word segmentation for hashtag using R

i would like to do a word segmentation for hashtag. i want to split word in hashtag. this is my attempt but obviously it didn't work. what i am trying to do INPUT: #sometrendingtopic OUTPUT: some ...
Haza's user avatar
  • 3
0 votes
0 answers
76 views

Convert Hashtag #term in WordPress Content Post by Taxonomy Tag without # Symbol

I convert the terms preceded by the symbol # into Tag taxonomy using this snippet: function post_published_notification( $ID, $post ) { $content = $post->post_content; preg_match_all('/( #\...
Scotty's user avatar
  • 119
1 vote
1 answer
227 views

Can't recover details from a Instagram Post recovered via Hashtag Search - error_subcode 33

I'm trying to retrieve updated info about some Instagram Posts, recovered via Hashtag Search. When I request the data of any of them, e.g. https://graph.facebook.com/v11.0/{ig-media-id}, I receive an ...
Douglas Dias's user avatar

1
2 3 4 5
17