Giter Club home page Giter Club logo

Comments (7)

shweshi avatar shweshi commented on June 13, 2024

@yashaswini Thanks for using the package. If possible can you please share the example url that you are trying to fetch the OG data. So that I can help you.
I tried with one of the FB post and able to get the OG data.

FB link:https://m.facebook.com/fact5/photos/a.535307899852517/2403987669651188/?type=3&source=48

Tested with: https://laravelopengraph.herokuapp.com/api/fetch?url=https://m.facebook.com/fact5/photos/a.535307899852517/2403987669651188/?type=3&source=48&allMeta=true&language=en_GB

OG data:
{"referrer":"default","description":"FACT added a new photo.","title":"FACT","image":"https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/67363025_2403987672984521_4161061962446274560_n.jpg?_nc_cat=103&_nc_oc=AQklfsDQIzLwZ4WFy4xLjF6aWSo-aCP-qGIcwnuPLMfXigALggyEuLpCUe94i1OD9Ik&_nc_ht=scontent-iad3-1.xx&oh=efd2b76b0c960ff7f78c28fa22c2f99a&oe=5DB33498","url":"https://www.facebook.com/fact5/photos/a.535307899852517/2403987669651188/?type=3"}

from opengraph.

yashaswini avatar yashaswini commented on June 13, 2024

Hi,
Thanks for your inputs. However, when I access the same Fb post URL(which you have mentioned) in my application using fetch() method it results in an empty result. I wonder what is going wrong.

TIA

from opengraph.

shweshi avatar shweshi commented on June 13, 2024

@yashaswini check the package of the version and make sure it's latest 1.0.6 and it would be helpful if you can provide code snippet to further debug the issue.

from opengraph.

shweshi avatar shweshi commented on June 13, 2024

No Response. Closing this issue.

from opengraph.

NetRally avatar NetRally commented on June 13, 2024

Same issue here too. After some query try Fb need login for public contents too
https://laravelopengraph.herokuapp.com/api/fetch?url=https://fb.watch/5nsZv_5BmC/

from opengraph.

shweshi avatar shweshi commented on June 13, 2024

@NetRally For me, it's working and returning the data. Is it possible to share how are you trying to fetch it?
Screenshot from 2021-05-10 00-36-15

from opengraph.

NetRally avatar NetRally commented on June 13, 2024

Worked me too at the begining but after a fourth query - mixed urls also, not only the same - the fb response:
{"site_name":"Facebook","url":"https://www.facebook.com/login/?next=https%3A%2F%2Fwww.facebook.com%2Fwatch%2F%3Fv%3D2308925129416683","locale":"en_US","locale:alternate":"ja_JP"}
Happened the same on my server too. I know it is fb limitation and after still unknown time release the lock

from opengraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.