Problems sharing panorama (360º) images on Facebook using Open Graph API


Adrill

So, for the past few days, I've been trying to share an image on Facebook (this image: https://cdn.mooble.com/render-images/BD8F1639613D4A3D8E763D4C4B45C.jpg ) , but I can't get it to work with the interactive 360º view . If you download the image from the link and upload it manually it works automatically, but I need to do it through the api.

I have tried FB.ui with the method "share" and passing the image url, but the image remains static.
Also tried publishing FB.api on "/me/photos" (the one with the allow_spherical_photo parameter), but I get the following response:
"This endpoint is deprecated due to the requested permission publish_actions". code:

   window.FB.login((response) => {
            console.log(response);
            if (response.status === "connected") {
                window.FB.getLoginStatus((response) => {
                    if (response.status == "connected") {
                        window.FB.api(
                            '/' + response.authResponse.userID + '/photos',
                            'POST',
                            {
                                "url": "https://cdn.mooble.com/render-images/BD8F1639613D4A3D8E763D4C4B45C.jpg",
                                "allow_spherical_photo": "true",
                            },
                            (data) => {
                                console.log(data);
                            });
                    }
                });
            }
        }, { scope: 'user_posts' });


So I tried the "/me/feed" method, which is supposed to be "newer" and didn't work either, here is the response:
"If posting to a group, you need to install an app in that group, \ or publish_to_groups permissions with a user token, or manage_pages \ and publish_pages permissions with a page token; if publishing to a page, \ requires both an admin with \\sufficient admin permissions and manage_pages and publish_pages as admins.

 window.FB.login((response) => {
            console.log(response);
            if (response.status === "connected") {
                window.FB.getLoginStatus((response) => {
                    if (response.status == "connected") {
                        window.FB.api(
                            '/' + response.authResponse.userID + '/feed',
                            'POST',
                            {
                                "url": "https://cdn.mooble.com/render-images/BD8F1639613D4A3D8E763D4C4B45C.jpg",
                                "allow_spherical_photo": "true",
                            },
                            (data) => {
                                console.log(data);
                            });
                    }
                });
            }
        }, { scope: 'user_posts' });


Permission granted, I don't want to post on a certain group or page on the user profile/timeline.


Does anyone know how to fix this, or if there is another way to post images?
If you want to use it to help me https://developers.facebook.com/tools/explorer/228851740637565?method=POST&path=me%2Ffeed&version=v4 it has an Online Api Explorer which is really helpful for testing requests . 0&url=https%3A%2F%2Fcdn.mooble.com%2Frender-images%2FBD8F1639613D4A3D8E763D4C4B45C.jpg&allow_spherical_photo=true

Adrill

As mentioned in misorude's comment

You can no longer post to user timesheets via the API

Related


facebook open graph count sharing using php sdk

David Tadei From the Facebook documentation, I can get the share count of the page calling the following URL https://graph.facebook.com/?id=http://www.google.it , and the data returned is as follows: { "share": { "comment_count": 0, "share_count

Facebook API: FQL query using Open Graph API

doku87 How to use Open Graph API to make FQL query like below? "Choose name from page contains location ("music/band")" More specifically, I'm looking for a way to get all Facebook pages of a specific category. Lucien Can't get pages by category, can only sear

How to post images on Facebook timeline using Graph API 4.0?

Preti I'm creating an API to publish on my Facebook timeline using Graph API 4.0. To do this, I first create an album and then publish the images in that album. this is the code $facebook = new Facebook(array( 'appId' => 'APP_ID', 'secret' => 'APP_SEC

How to post images on Facebook timeline using Graph API 4.0?

Preti I'm creating an API to publish on my Facebook timeline using Graph API 4.0. To do this, I first create an album and then publish the images in that album. this is the code $facebook = new Facebook(array( 'appId' => 'APP_ID', 'secret' => 'APP_SEC

How to post images on Facebook timeline using Graph API 4.0?

Preti I'm creating an API to publish on my Facebook timeline using Graph API 4.0. To do this, I first create an album and then publish the images in that album. this is the code $facebook = new Facebook(array( 'appId' => 'APP_ID', 'secret' => 'APP_SEC

Upload panorama images using the Street View Publishing API

Ondra When I upload using the given street view API Request an Upload URL $ curl --request POST \ --url 'https://streetviewpublish.googleapis.com/v1/photo:startUpload?key=YOUR_API_KEY' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN

Stop Facebook using featured images for blog sharing

Dave Hudson When I share a blog post from wordpress, WP defaults to the post's featured image and doesn't give any option to choose another image from the post. I need to stop fb from seeing the featured image as it has nothing to do with sharing and allow it

Stop Facebook using featured images for blog sharing

Dave Hudson When I share a blog post from wordpress, WP defaults to the post's featured image and doesn't give any option to choose another image from the post. I need to stop fb from seeing the featured image as it has nothing to do with sharing and allow it

Using the Google Panorama API

Libathos I want to use Google's API to display panoramas. Obviously I need to input a jpg with a panorama and have the metadata embedded in it in XMP format. How can this be done? Is it my job as a developer, or the job of the person who created the panorama?

Using the Google Panorama API

Libathos I want to use Google's API to display panoramas. Obviously I need to input a jpg with a panorama and have the metadata embedded in it in XMP format. How can this be done? Is it my job as a developer, or the job of the person who created the panorama?

Query app images via Facebook Graph API

Juan Carlos Carbonell I've read Facebook's graph api documentation and I've found a call to read the app's profile picture: GET graph.facebook.com/v2.4/{app-id}/picture Is there a way to query the rest of the app images (cover images, banners, web banners, ap

Query app images via Facebook Graph API

Juan Carlos Carbonell I've read Facebook's graph api documentation and I've found a call to read the app's profile picture: GET graph.facebook.com/v2.4/{app-id}/picture Is there a way to query the rest of the app images (cover images, banners, web banners, ap

Get Open Graph Data via Facebook API

Pavel I want to get some data (title, description, image) using the URL to the page and the "Facebook SDK for .NET" library. When using a GET request, I don't receive the image: Request execution: var facebookClient = new FacebookClient(GetAccessToken(

Get Open Graph Data via Facebook API

Pavel I want to get some data (title, description, image) using the URL to the page and the "Facebook SDK for .NET" library. When using a GET request, I don't receive the image: Request execution: var facebookClient = new FacebookClient(GetAccessToken(

Get Open Graph Data via Facebook API

Pavel I want to get some data (title, description, image) using the URL to the page and the "Facebook SDK for .NET" library. When using a GET request, I don't receive the image: Request execution: var facebookClient = new FacebookClient(GetAccessToken(

Facebook Open graph API shows more information

Said When I share my website on Facebook, I get the following information. <meta name="keywords" content="ICCOTP, COTP" /> <meta name="robots" content="INDEX,FOLLOW" /> <meta property="og:title" content="ICCOTP" /> <meta property="og:type" content="website" />

How to use and open 360 degree *.pano panorama image files?

Jonathan Microsoft's Photosynth (upload via iOS app) website exports to *.pano. Facebook now natively supports 360-degree photos. What will I do with metadata and/or view these 360 photos? username To open *.pano on Linux, build the following code: https://git

How to use and open 360 degree *.pano panorama image files?

Jonathan Microsoft's Photosynth (upload via iOS app) website exports to *.pano. Facebook now natively supports 360-degree photos. What will I do with metadata and/or view these 360 photos? username To open *.pano on Linux, build the following code: https://git

How to use and open 360 degree *.pano panorama image files?

Jonathan Microsoft's Photosynth (upload via iOS app) website exports to *.pano. Facebook now natively supports 360-degree photos. What will I do with metadata and/or view these 360 photos? username To open *.pano on Linux, build the following code: https://git

How to use and open 360 degree *.pano panorama image files?

Jonathan Microsoft's Photosynth (upload via iOS app) website exports to *.pano. Facebook now natively supports 360-degree photos. What will I do with metadata and/or view these 360 photos? username To open *.pano on Linux, build the following code: https://git

How to use and open 360 degree *.pano panorama image files?

Jonathan Microsoft's Photosynth (upload via iOS app) website exports to *.pano. Facebook now natively supports 360-degree photos. What will I do with metadata and/or view these 360 photos? username To open *.pano on Linux, build the following code: https://git

Share audio on Facebook using Open Graph

Manish Kumar I'm trying to share audio content on facebook using the og tag so that the audio can only be played in the facebook window. Here is the code I wrote: <html> <head> <meta property="og:url" content="https://www.songdew.com/test_manish.html"/> <met

Facebook comments rejected for using open graph photos

Ravi Prakash I'm developing an app in iOS that uses Facebook login. Users can access Facebook photos within the app. When I submitted the emulator version to the review team, it was rejected for the following reasons: Your Facebook login doesn't recognize my t