Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRESS2-60 check for valid twitter handle #71

Merged
merged 10 commits into from
Sep 27, 2022

Conversation

abhijitb
Copy link
Contributor

@abhijitb abhijitb commented Sep 2, 2022

modified: includes/RestApi/SettingsController.php

modified:   includes/RestApi/SettingsController.php
Copy link
Member

@arunshenoy99 arunshenoy99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2022-09-06 at 12 23 46 PM
Screenshot 2022-09-06 at 12 25 01 PM
Screenshot 2022-09-06 at 12 25 11 PM

@abhijitb @0aveRyan Yoast SEO allows twitter id's to be entered for the twitter_site

…or it

modified:   includes/RestApi/SettingsController.php
…er handle

modified:   includes/RestApi/SettingsController.php
modified:   src/OnboardingSPA/components/SocialMediaForm/index.js
modified:   src/OnboardingSPA/components/SocialMediaForm/index.js
Copy link
Member

@officiallygod officiallygod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, I was testing the Twitter Handle and it was behaving weird for me,
screen-capture.webm
So as you can see for facebook the error goes when I type in the missing ":" but not for twitter and the twitter URL "https://te.com/alllen" also works and sometimes "tw" also works, and maybe we can have some way by which user knows he can enter handle as well?

screen-capture (1).webm
I am not sure if you added the change wherein the valid URLs do get saved and only throws error for invalid ones, but that is not working for me.

modified:   includes/RestApi/SettingsController.php
modified:   src/OnboardingSPA/components/SocialMediaForm/index.js
Copy link
Member

@arunshenoy99 arunshenoy99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abhijitb I just tested again after getting Yoast SEO to work, Yoast does not accept @ and the error message says URL or username compared to Facebook, please check the SS
Screenshot 2022-09-22 at 9 53 38 PM

modified:   src/OnboardingSPA/components/SocialMediaForm/index.js
modified:   src/OnboardingSPA/components/Tooltip/stylesheet.scss
modified:   includes/RestApi/SettingsController.php
modified:   src/OnboardingSPA/components/SocialMediaForm/index.js
@arunshenoy99 arunshenoy99 merged commit f462d47 into trunk Sep 27, 2022
@arunshenoy99 arunshenoy99 deleted the fix/PRESS2-60-twitter-url branch September 27, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants