Python Forum
I need request POST for Facebook in My Profile
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need request POST for Facebook in My Profile
#1
I will try to be as specific as possible. I am trying to make a request by POST method to publish a certain link in my profile. I've used the Facebook API, but it's not what I need. I need to do this:
 
[Image: 3tLD6.png]

When I click click publish, I should post it to my profile, I need to do this without the Facebook API. I have noticed that clicking on the 'post' button makes a post request, but I do not know how to do it in Python.

I left in this link the buttons that are used to share.

XXX.com/test/test.html

I would appreciate your cooperation.

Thanks for you.
Reply
#2
use selenium to click the button. Here is a script that logs into facebook with selenium and goes to friends list. You can switch it to click the button you want on your profile instead.
Recommended Tutorials:
Reply
#3
(Sep-27-2017, 05:30 PM)metulburr Wrote: use selenium to click the button. Here is a script that logs into facebook with selenium and goes to friends list. You can switch it to click the button you want on your profile instead.

That is, would you have to change the "to friends" function?
Reply
#4
yeah you can just change the to friends function to click whatever you want.
Recommended Tutorials:
Reply
#5
(Sep-27-2017, 05:41 PM)Kalet Wrote:
(Sep-27-2017, 05:30 PM)metulburr Wrote: use selenium to click the button. Here is a script that logs into facebook with selenium and goes to friends list. You can switch it to click the button you want on your profile instead.
That is, would you have to change the "to friends" function? 

I'm going to try, anything I can ask you again?  Thanks for you

(Sep-27-2017, 05:41 PM)Kalet Wrote:
(Sep-27-2017, 05:30 PM)metulburr Wrote: use selenium to click the button. Here is a script that logs into facebook with selenium and goes to friends list. You can switch it to click the button you want on your profile instead.
That is, would you have to change the "to friends" function? 

This is awesome! works perfectly! Thank you, thank you very much :D
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to profile tornado web app ? umen 2 968 Oct-09-2023, 05:59 PM
Last Post: noisefloor
  Automating Facebook Posts mieciow 2 1,372 Aug-07-2023, 12:34 PM
Last Post: Gaurav_Kumar
Question Python request (post/get) Drunknmonkie 1 2,660 Jan-19-2023, 02:02 PM
Last Post: prvncpa
  Post request not saving in DRF Dexty 0 920 Jun-03-2022, 12:35 PM
Last Post: Dexty
Brick how to work with 2 or more related tables in a Post request ikurorox 0 1,398 Dec-05-2021, 01:01 AM
Last Post: ikurorox
  Web scrapping login facebook credentials kosmas9 0 1,939 Aug-17-2020, 01:33 PM
Last Post: kosmas9
  POST request with form data issue web scraping hoff1022 1 2,682 Aug-14-2020, 10:25 AM
Last Post: kashcode
  The correct POST request abhie_lp 5 2,975 Jun-05-2020, 07:27 AM
Last Post: buran
  How to click facebook message button JanelleGuthrie 2 2,407 May-14-2020, 06:02 PM
Last Post: Larz60+
  How to apply post request in python for establishment search for EPFO? rajeev1729 0 1,878 May-01-2020, 04:45 PM
Last Post: rajeev1729

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020