is Facebook app approval required for share link app_id? - html

I am looking to customize the Facebook share button with a custom website icon (the 16x16 one) when a user opens the dialog window to share an article. As I understand, it requires a Facebook app_id and then setting the icon in the app_id settings.
My question is, does the Facebook app need to be sent to "approval" for this to work? Or is that only required for actual apps that are used on Facebook? Because what I am doing is not an actual app, I just need the icon customized that users will see when they post something. Would it work just going from sandbox to live without submitting to approval?

Related

Google sign-in in website detecting user accounts and display in iframe/popup

Well I'm trying to enable my users to login with their gmail accounts like I saw in some sites on the top right of the browser windows as I show in the image. The only thing I could get searching was use the Google Sign-in API but that let me create a button which open a popup with my accounts but I want to show it when the user get to the site without a new window, maybe a iframe or popup I dont know. Do anyone knows if what the image show can be done with Google Sign-In or it's maybe with another API or something?
Thanks!

Open Whatsapp message box on button click on a web page

I have added some logos at the end of my website. I want to open respective apps based on the logos when clicked by users. This menu is shown when the user accesses the site via mobile
How can I open whatsapp message for a particular number when user clicks on it?
For example for email we have mailto and for telephone we have tel
You can use href of this element to
WhatsApp
For a specific number
href="//api.whatsapp.com/send?phone=91MOBILE_NUMBER&text=WHATEVER_LINK_OR_TEXT_YOU_WANT_TO_SEND"
Please make sure in phone, there is CountryCode 91 for India
They have a function called Click to Chat which I have tested in standard banners.
WhatsApp's Click to Chat feature allows you to begin a chat with someone without having their phone number saved in your phone's address book. As long as you know this person’s phone number, you can create a link that will allow you to start a chat with them. By clicking the link, a chat with the person automatically opens. Click to Chat works on both your phone and WhatsApp Web.
You can create a click to WhatsApp Number (Do note the mobile number needs to have an Active Whatsapp Account)
You can have a click to WhatsApp with Pre-Filled Message
You can click to just a Pre-Filled message. It would then prompt you to select a contact.
Works on web, mobile web and mobile apps
Example of clicthrough URL - https://wa.me/0123456789?text=I'm%20interested%20in%20your%20car%20for%20sale
More info here: https://faq.whatsapp.com/en/android/26000030/
Adding international contacts/phone numbers: https://faq.whatsapp.com/en/general/21016748
On a website that is based on a CMS engine like WordPress, for the case of the WordPress CMS, the page title will be the pre-filled message, which is very useful if you want to know from what website page/title the request is coming.
To create your own link with a pre-filled message that will automatically appear in the text field of a chat, use <a href="whatsapp://send?text= <?php the_title_attribute(); ?> &phone=:whatsappphonenumber </a>
Where: the_title_attribute(); is the WordPress Function retrieving or displaying the current title, and
whatsappphonenumber is the WhatsApp number used to receive the message.

Facebook Instant "PLAY" button not present

My Facebook Instant app does not have a play button, so it's not possible to launch the app via sharing.
Could someone outline what I need to do to get this button to appear please?
I've set up everything (including an app page) in the dashboard. I'm assuming it has something to do with the "fbapp-config.json" file, but sample app doesn't seem to have the most common use case.
I assume don't need a self-hosted bot just to launch my app?
As discussed elsewhere (as I am unable to comment on Stack Overflow) I clarified that this is the Messenger share from the app details page. This looks like a bug on the Facebook side, as this reproduces for me.
For context, I am an engineer working on the Facebook Instant Games team. We will look into fixing this and update here when it is fixed.

HTML5 Banner using Google Web Designer

I have create a html5 banner using Google Web Designer following pretty much all the guidelines (https://support.google.com/webdesigner/answer/3261498?hl=en&ref_topic=3261495&rd=1).
I published it locally and uploaded to google adwords campaign as an Image add. In my banner there is a simple form for the user to enter basic details and submit it. So i have just one event on submit button. All good so far. After i uploaded the banner to google adwords, when i tested the banner the whole banner is clickable for some reason. Somehow google is appending a click event on the whole banner.
But according to docs (https://support.google.com/adwordspolicy/answer/176108?hl=en)
"HTML5 ads that are not created in Google Web Designer are, by
default, clickable on the entire area of the ad."
I used google web designer for this specific reason still i see the entire area clickable. Any ideas or suggestions or references would be great.
Thanks.
In Code view, add a higher z-index to the submit button so that it sits above the exit element.
I published it locally and uploaded to google adwords campaign as an Image add.
I think you should try to find a way to not upload as an Image Ad.
Google Adwords requires an exit/destination URL when you upload an ad on their platform disregarding what type of ad you upload.
That URL is assigned to your whole ad.
What you need is DoubleClick account. DoubleClick for advertisers will allow you specific button exits/destination URLs.

Google Chrome Extension Top Sites Images

So using the Google Chrome Top Sites api has values for the url and the title, but when you load the default google chrome page it also has an image of those sites, is there any way to get that sort of image for an extension? If not how does google get that image and how can you get an image of the the user's top viewed website?
Since that it isn't possible to get a screenshot of a page without loading it inside a tab, Chrome is simply getting those screenshots while you're browsing your favourite sites. You can tell this easily because sometimes sites and images do not coincide (e.g. sometimes my facebook.com top site has the image of my profile page, but links to the home).
Then, if you want your screenshots of the Top Sites, you'll have to start without screenshots, and create them while the user browses the web by using the chrome.tabs API to check when a tab loads one of the Top Sites (listening to the event onUpdated), and get a screenshot of that tab using captureVisibleTab.
NOTES: make sure that you've requested the permission for "<all_urls>" in your manifest, which is required for captureVisibleTab to work. Additionally, you may find this question and its answer helpful.
It's unfortunately not possible*. Chrome stores those thumbnails internally in URIs not accessible from an extension.
There is an existing feature request: https://code.google.com/p/chromium/issues/detail?id=11854
If you look at the comments, one of the main use cases is to access site thumbnails to replicate the New Tab page.
Do star the feature request above to raise its priority if you want this functionality implemented.
* By that I mean that it's not possilbe to access Chrome's own internal store of thumbnails.
Furthermore, as Marco suggested the way to replicate that would be tab capture, but you can't do it "in the background" for privacy reasons - a user must make an explicit gesture (e.g. click the extension's button, press a shortcut, etc.) to perform capture.
Marco's answer is valid now, captureVisibleTab should be accessible upon events. But yes, as of now Chrome forces you to have very broad permissions and maintaining your own thumbnail store.