Object_attachment and album link

I send a message to the user stream with the following JSON data (using the C # API for Facebook, but that doesn't matter, I think):

caption = String.Format("New album from {0}!", App.Current.AppTitle), link = m_control.m_popup.Album.FacebookAlbumLink, message = m_control.GetMessage(), object_attachment = slideForCover.FacebookId, 

Now everything works as expected, except for one thing: the thumbnail on click has one of two behaviors (the click link works fine):

  • I get an image that the attention object indicates for a moment, and then disappears, saying: "This content is currently unavailable."

  • I get the correct picture, but do not comment, not navigation, nothing.

What I want is optimally by clicking on the image to show me the beginning of the album, and if this is not possible, I want to listen to the image to bring me to this picture inside the album with full navigation (therefore there are no errors, etc.), .

Edit 1 - More info: I have an example that shows a problem encoded using the C # API for Facebook. Download here . You need to edit the MainPage.xaml.cs file to add the identifier of the test application, and you need to have the c: \ temp \ pic.jpg file available for download.

+4
source share
1 answer

I ran into this problem. This is definitely a bug somewhere on FB.

Why not post a link to the photo (using the link option)? This seems to work well on Timeline (shows a large picture, while the popup works correctly) and bypasses the object_attachment problem.

0
source

Source: https://habr.com/ru/post/1402265/


All Articles