Announcement

Collapse
No announcement yet.

Facebook & Instagram images issue

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Facebook & Instagram images issue

    Hello Everyone,

    I am parsing images from facebook, instagram & Twitter. Twitter works great but for facebook & Instagram the images give me an error and show up as blank in the engine output.

    The error specifies that it does not like the "?" character in the image string. When i paste the image link in a web browser it loads fine. If anyone has had this issue and knows how to fix please share.

    See error below:
    Question mark issue.PNG

    Thanks in advance,
    Shotski

  • #2
    Hi Shotski,

    Can you replace the "?" string with html entity?
    ?
    Maybe try using one of the methods below

    Replace(pos As Integer, len As Integer, str As String)
    Substitute(regex As String, subst As String, global As Boolean) As Integer

    Comment


    • #3
      Hi clopez,

      I tried replacing the "?" but the image does not load.
      This is a sample of the string:
      https://scontent-mia3-1.cdninstagram...ninstagram.com

      Comment


      • #4
        Also this is an example of the xml that contains all the information: I wonder if there is an easier way to parse this, maybe in an array?
        <?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><entry xmlns="http://www.w3.org/2005/Atom"><id>CLP82bcb52040dc9129e6d287215f8bbcc5</id><title type="text">Tiger&apos;s over par early this morning at @thentgolf. Will he turn it around on his second 9? #FedExCup</title><summary type="text"></summary><published>2019-08-08T13:28:58.000Z</published><author><name>Golf Channel</name></author><contributor><name>Instagram</name></contributor><link rel="via" type="id" href="2105967726074713204_18803110" /><category term="Message" /><thumbnail url="https://scontent-mia3-1.cdninstagram.com/vp/e6043c51921c7691613e60ba5fbf1386/5DE562C2/t51.2885-19/s150x150/67140325_367076770644731_2524260298286694400_n.jpg?_nc_ht=scontent-mia3-1.cdninstagram.com" cache="93b8f9ebd22ef8c1a343d3941453180a" xmlns="http://search.yahoo.com/mrss/"></thumbnail><link rel="enclosure" type="image/jpeg" href="https://scontent-mia3-1.cdninstagram.com/vp/6b47592dc31da3e314619674e8bbdb9b/5DE2DB8F/t51.2885-15/e35/67658938_697132457378273_376707682572297454_n.jpg?_nc_ht=scontent-mia3-1.cdninstagram.com" cache="CLP82bcb52040dc9129e6d287215f8bbcc5\7ea3d68668428dee09737204e67e9c7d" /><link rel="up" type="application/atom+xml;type=feed" href="http://c1pwvzhb01.ad.ewsad.net:8089/directory/id/SYS_APPROVED/feed" /><link rel="up" type="application/atom+xml;type=feed" href="http://c1pwvzhb01.ad.ewsad.net:8089/directory/id/MediaDownload/feed" /><rights type="text">delete:users,modify:users</rights></entry></feed>

        Comment


        • #5
          I think Facebook changed something in their XML. Even the script that I got from Jozef shows an empty image box.

          Comment


          • #6
            I know, it is different from twitter, which works great. I am not sure how to get around the issue though. Can you share the script Jozef sent?
            Last edited by Shotski2; 08-09-2019, 07:38 PM.

            Comment


            • #7
              Here you go. Let me know if it doesn't download for you.
              Last edited by cbs3gfxguy; 08-14-2019, 01:11 AM.

              Comment


              • #8
                Hi cbs3gfxguy,

                Looks like it did not download.

                Comment


                • #9
                  Still having the issue with instagram/facebook photos and logos not loading in the scene. They seem to load in TW just fine but not on the output. Any ideas anyone?

                  Comment

                  Working...
                  X