How to force Facebook to rescrape link preview on each share - php

I found a website today (www.mytwin.fun)
Whenever i comment this url anywhere on Facebook, it shows random image as preview. How do they do it?
I tried using Facebook graph api and Curl but it doesn't work without opening the site on a web browser.
Can anyone guide me to find a solution for this?

Related

Launching instagram App through instagram's in app browser

Launch intagram
Does work from google chrome on android phone. But not from instagram's In app browser. It shows 'Page can't be loaded'.
More explanation: I have sign in with instagram. Which takes me to the instagram's in app browser instead of phone browser. and then i am trying to launch instagram app if installed.
couldn't find anything anywhere. Help is appreciated.
I'm not sure but I think that the Instagram in-app browser doesn't support intents and it's not full featured like chrome.
For example it doesn't starts download any file and use external browser for direct download links.
U should use a global link for that:
http://instagram.com/someuser/
or
http://instagram.com/_u/someuser

Facebook Open Graph seems buggy via app share dialog

When I share a link on Facebook, if i'm sharing from web, everything is perfect, title, description and images are alright.
But when I try to share a link from an app (iOS) there is no thumbnail.
Example link:
http://www.bilemezsin.com/whatsapp-in-pip-ozelligi-tum-kullanicilara-acilir--28426?refli=8053
Open Graph Debugger Result:
Web Share Result on Facebook
App Share Result on Facebook
I tried with other apps, too, via their Facebook share buttons on my iOS 10, iPhone 7.
I can't see what I'm missing, is it a Facebook bug?
I have tried to change SEF links to actual links but nothing changed.
I have tried clearing cache from Open Graph debugger, again, nothing.
I have tried many other apps, but they all seem failing when sharing
is initialized from mobile app. Sharing the same URL from the solves
the missing image problem.
Can you try to share any content from any app to Facebook and tell me the result? It'll be appreciated.
Note: everything was working fine till today.
Thank you.
Yes, it's a Facebook bug. It seems it just started.
https://developers.facebook.com/bugs/1948522638736698/

Facebook custom share button

Im looking for a simple Facebook share button that will open a new browser window and share the current page URL.
This was simple with Twitter using:
Im looking for something very similar for Facebook however it seems like with Facebook it is made purposely more difficult than it could be.
I have tried at least 10 different ways and always get the same error:
Can't load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.
I am already including the Facebook web API below the first body tag.... I have also gone into Facebook developer settings and correctly setup eve tying by entering the root domain I intend to share
Thankyou for any help
You could use the old simple sharer
Share on Facebook

How to get streaming home timeline from Twitter in PHP?

How do I display my own streaming Twitter home timeline with PHP? So that the connection remains open indefinitely?
I have a Twitter application and all the required keys and tokens.
I've been going over the Twitter documentation and playing around with several PHP libraries, but to no avail. I haven't found anything like a step-by-step tutorial, either.
Thanks!
Twitter provides a useful widget for this (displayed as an iFrame on your website)
log into twitter(in your web browser), Click the gear>settings>widgets then you can configure it to search for #yourtwitterhandle or #yourhashtag or both.

How to upload or share images on Flicker through php or Action script

i am developing an application in which user have the option to share images on different social sites like Facebook, twitter and Flickr.
I have done with Facebook and twitter, i upload image to my server and share the link on Facebook and Twitter.
with share link like
http://www.facebook.com/sharer.php?u=YOUR-IMAGE-PATH
this is working well.
But i don't have any idea how can i share my images on Flickr?
Please help me if anyone have done this or any idea of sharing images on Flickr through php or in action script.
You need to call Flicker UPLOAD API and need to send POST request from Flex
using FileReference for Flex see Working with file upload and download
and you may find this blog Flex and Flickr uploading helpfull
Hopes that helps

Categories