I am trying to build a UI where I can post to Facebook page using GraphAPI v13.0.
I can see the Posting a message. I can see posting a link and Message, but I am unable to find an option to post multiple images and message and multiple videos together at same time.
Has anyone been able to do it using Python or any other language?
Need suggestions or pointers around it.
Related
I want to be able to post photos and videos with descriptions from python and no library on the internet works, I tried instagrapi, instapy_cli, instabot and nothing. None of them work. When I use the code to make the post instagram detects suspicious activity and forces me to change password.
I tried use instagrapi, instabot and instapy_cli.
I'm using YouTube Data API V3 to extract info about my YouTube channel.
I'd like to identify Shorts so I can analyze them separately.
I've found in another discussion a solution which is to do a head request at "https://www.youtube.com/shorts/videoId" as it should redirect the URL if it's not a short and it should not if it is one.
Unfortunately, regardless of if I'm passing a Short or not I get <Response [302]>.
I suspect this is because I'm in the EU and if I try to access the URL without being logged-in I'm redirected to the cookie consent page: https://consent.youtube.com/m?continue=https%3A%2F%2Fwww.youtube.com%2Fshorts%2F-2mHZGXtXSo%3Fcbrd%3D1&gl=DE&m=0&pc=yt&uxe=eomty&hl=en&src=1
Is that the case?
If so, is there any workaround? (aside from a VPN)
Thanks in advance,
I would have gladly commented on the other discussion instead of creating another topic but I'm a simple lurker with no reputation so I can't comment
Here is the original conversation: how do i get youtube shorts from youtube api data v3
Ran into this as well trying to identify shorts. Turns out, sending a cookie value of CONSENT=YES+ will bypass the consent screen. In Python, this might look like:
requests.head(shorts_link, cookies={"CONSENT": "YES+"})
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 of Share a Guide
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.
jornadahci.com/test/test.html
I would appreciate your cooperation.
Thanks for you.
Edit: I did it with the Facebook API, it worked perfect. But now, I want to do it without the API and perform the automatic script. What causes me doubt is POST requests, if you note, when you click on 'publish' you will make about three requests. Also, I do not know if the script would need a cookie to know what account this.
I'm really confused with the process to create a post in a google plus page.
I have created a user in google plus and created a 'Page' (Business Page). Now, from a Python script i want to post to the 'Page'. So could you someone Suggest which API should i use ? Whether its Google + API Google Domain API?
I have done research and what i understood is that, its not possible to post to
a page from a script. or i'm i missing something?
I have already created a python script which can post content to facebook,Twitter and LinkedIn but stuck with Google Plus.
I have already gone through the links like
Google + Domain API
Google + API
But those does not create posts directly in a page.
Please guide me. Any help would be appreciated.
Unfortunately the Google Plus Pages api (required for working with pages) is a separate api, and is not open to the public... You can send a request to join here:
https://developers.google.com/+/api/pages-signup
I had the same problem...
I am doing a test project that uses Facebook Graph API to retrieve data from an events page. I need to use the following url: https://graph.facebook.com/OffTheGridSF/events and do a HTTP GET from my web app. I created a facebook app (for testing) and have the APP_ID, APP_SECRET. I was wondering which library (if any) should I use. I have looked at django-facebook and pyfb. I am not sure how the authentication process works. I don't need a login page for my website. I only need the JSON containing the list of events. Any help as to how I should proceed will be highly appreciated. I just started playing around with Django a few hours ago so nothing is trivial.
You can try using python requests library directly with the URL you want to GET. Checkout requests-oathlib