How to start_activity with intent of opening a url with Python?

I am trying to open a Facebook post URL in the FB app. But Android is asking me to choose with which app to open the URL and ask me "Only once?" or "Always?". I clicked always but it still doesn't open the FB app. I am stocked here.

EDIT:

These screenshots are showing what is going on on smartphones and tried all the scenarios possible by hand and by script. It still doesn't want to open the URL in the app:

enter image description here

enter image description here

enter image description here

So I did some search about this issue and I discovered that the method "start_activity" has some parameters "intent": https://appium.io/docs/en/commands/device/activity/start-activity/

https://developer.android.com/reference/android/content/Intent

The problem is that this parameter is only for java and doesn't exist for Python, does it?

Does anyone know how can I open FB app on a particular post with the help of the URL post?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations