can't post on facebook with selenium (python) - python-3.x

I was able to post on Facebook some days ago with selenium(python)
I could find post text Box with this below method
driver.find_element_by_xpath("//textarea[#name='xhpc_message']")
but it seems Facebook has made some changes recently so it's not working anymore. and I am not even able to post any link with https or www anymore with
element.send_keys("https://.....");
I have tested manually It's working but not with selenium(python)
so any way to work around it, any help

Related

MERN - Successfully POSTs a blog post to the DB but when I refresh the page it gives 404

I am a beginner and followed a youtube video for creating a blog using MERN.
I am trying to configure it, but the problem is once a user clicks 'write' and adds a blog post to the homepage it will say 'not found' even though it successfully updates the DB, after replacing the window so I then have to back to the homepage and click on the post which is the exact same link the window is trying to replace, then for example once I refresh the post it gives me 404...
Is this a deployment issue? As I am currently only testing it on a free version of render, or is this a complete different problem? I will link the page now and it's just for testing purposes so it's not responsive on mobile or anything.
Thank you.
Website

WebRequest Redirect to Interstatial shows blocked by extension instead of the local resource. Not 100% reproducable

I have an extension that has been working for almost 2 years now with out issue. I havent made any changes in about a year, but recently i started seeing some change in behavior.
I use the Webrequest APi to intercept navigations. During the callback for some websites i need to do some security evaluations async. When this happens I redirect to a local resource (html) as an interstatial page that tells the user what I am doing. Once complete based off the evaualtion the page is redirected where it should be. This is ussually very fast and has worked great for the last 2 years. Since the latest version of chrome things dont seem to work anymore for all cases.
If i intercept an address bar navigation. everything works as expected. The interstatial pops and everythings great. However. If i click on the same website as a link on a webpage. I get the "Blocked by Extension page". (what you would get if the nav was cancelled). I also noticed that my interstatial is showing up in the web history and if i click on it from my history page everything works.
It seems as if a bug might have been introduced by google?
Just wondering if anyone has seen this.
Thanks

Cannot register a new client ID with Instagram Developer [duplicate]

This question already has answers here:
Instagram captcha error on new app creation
(16 answers)
Closed 5 years ago.
I am wanting to use instafeed.js on my site and need a Client_ID from Instagram.
I have watched countless tutorial videos, and know I am populating all the required fields. But am still having no success trying to register a new client with Instagram Developer.
I am definitely not entering the captcha incorrectly but I keep receiving the same error message over and over:
note: I am using my actual url, and not the url in this example.
Any help would be much appreciated.
I found a work-around for this:
There is an error with Instagram's captcha module on form submission. I got the form to successfully submit the first time round using Mac OS Sierra 10.12.6 in Firefox 54.0.1.
No version of Safari or Chrome would work for me.
This resolved the error:
The captcha solution was not correct. Please try again.
Submission error: please fill out all required fields.
Hope Firefox solves the issue for all.

Browser Said Invalid Request When I Tried to Access a Picture of Instagram

Recently, I wrote an app to synchronize photos in my Instagram to another platform. The GET /v1/users/self/media/recent?access_token=ACCESS_TOKEN result should contains the links to my pictures, like
https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s640x640/e35/sh0.08/11330602_751572388302808_972254350_n.jpg,
and it went very well. But today after clicking the link, it told me Invalid Request. I'm not sure what happened to this cdn link. Any hints would be appreciated.

LIKES done by me on my own page don't show up anymore after making an app to post to my page's fanpage

I really hope someone can tell me more about what's going on, because I spent days searching the net and for the life of me can't say what is going on.
Here's what happened. I have a website 4nieuws.nl . On every article's page I put a like button using the Javascript SDK. All worked well. On facebook I created a fanpage for the website, facebook.com/4nieuws and every now and again I would copy an interesting article there. The like button and Javascript SDK on 4nieuws.nl uses the APP Id from an app I created specifically for that purpose.
Then I thought I might automate to publish the most popular articles on the fanpage using the PHP api. I set about getting the proper authorization key using the sequence explained on this page: http://www.typeoneerror.com/articles/post/permanent-facebook-sessions-and-posting-as-a-page
For this to work I authorized the previously mentioned app to publish on the facebook fanpages that I am admin of. And this works.
Now for the strange part. Ever since I authorized the app, if I go to 4nieuws.nl and like a page, or even 'post to facebook', the button shows 1 more like. But the like message never shows up on my personal wall. My wife, logged in to her own facebook account, gets a notification that I liked a page, but when she clicks the notification she is sent to a Facebook 404 page. When I subsequently reload the article, my 'like' is not there anymore.
Has anyone ever come across something like this ? I'm a bit anxious because I am not sure if other peoples likes on 4nieuws.nl are working as it should. I do see likes on pages but have no idea if those likes are actually registering on peoples walls.
Any help greatly appreciated.

Resources