Comments (7)
@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
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.
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.
@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.
No Response. Closing this issue.
from opengraph.
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.
@NetRally For me, it's working and returning the data. Is it possible to share how are you trying to fetch it?
from opengraph.
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)
- Add support to fetch language specific metadata HOT 1
- Verify image url in image attribute. HOT 1
- Package not working on all website HOT 3
- UTF-8 image returns empty HOT 1
- ErrorException: get_headers(): SSL: Connection reset by peer in
- meta tags with data-rh attribute are not taken into account HOT 1
- Log errors from DOMDocument::loadHTML() using libxml_get_errors() HOT 3
- Add support for custom user agent HOT 1
- throwing an exception when the url returns 404 -breaking test. HOT 1
- Doesn't get the open graph data from Netflix HOT 3
- Doesn't get OpenGraph metadata from Instagram HOT 6
- Problem to get meta image HOT 1
- include Title tag too? HOT 3
- Add option to fetch open graph data from html string HOT 1
- Error when using HOT 3
- Twitter post images not generating inside image tag due to verify_image_url function HOT 3
- Support for CURL proxy HOT 1
- Add support for Laravel 10 HOT 2
- Latest version doesn't supports Laravel v10 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengraph.