Open messenger with product info - next.js

I have searched for this feature, but I'm not sure if it is possible and maybe someone has done this before. I would like to integrate chat messenger (facebook) with my website, and I would like to have a buy button on my products, and when someone clicks it, it would open the messenger popup with the info about the product clicked already filled in, so I can just follow up personally with extra questions (quantity, address,prices, etc)
Is it possible?
The website is being built with nextjs by the way.

You can not popup the chat extension provided by Facebook automatically the way you are wanting. But, what you can do to achieve your goal is to use Chatbot and referral codes. You can identify which product page the user have come from by checking the referral code. And your chatbot can then provide response of that product as per referral code.
Reference: Messenger m.me Link

Related

Is there a Google javascript plugin which allow website to get user's email with single click?

Is there a google email javascript product/SDK that provide user with just a single click button to subscribe to a newsletter on the website with the signed account.
I think I saw one on some website but I cant remember and searched but wasnt able to find something like that.

How to publish Telegram instant view template for review

I created an Telegram IV template from my website. All checks are green and the template is working fine when published through:
https://t.me/iv?url=example.com
How can I publish my template for approval? so any URL from:
https://example.com
will be considered as Instant View in Telegram?
Instant View only support few domain for now, I think they will accept templates after contest.
I have the same problem. It looks like currently you need to publish your template through the contest (this page).
Mark as 'Tracked' in an editor as minimum 10 of articles/posts on your site. If each one is successful, do the follow.
Press button 'Submit template'.
As of 2021, it doesn't seem that Telegram is opening Instant View to more domains. I have tried to publish / submit a template plenty times, with no success.
On My templates page, clicking Submit Template, then Confirm, does nothing at all.
Publishing templates
If the Instant View page has been processed successfully, you'll see a
View in Telegram button in the top right corner – you can use it to
view the resulting page in-app.
For your own audience
Note that if you send the resulting t.me/iv?url=...&rhash=... link to
other Telegram users, they will see an Instant View page built using
your template (the rhash parameter in the link determines which
template is used to create the page). This means that, as a website
owner, you can create a template for your page and publish
t.me/iv?url=... links with the corresponding rhash to your Telegram
channel — and your subscribers will be able to view your articles in
the Instant View format right away.
For all Telegram users
If you'd like your template to become truly public and seen by all
users, regardless of the link they get, the template will need to be
approved by the Telegram team.
― https://instantview.telegram.org/#publishing-templates
The problem is that there is not documentation about how "the template will [...] be approved by the Telegram team" when there are no contests.
At the moment (2022) it seems it's not possible to submit an InstantView template for review. The support said to me it's only possible if there is an ongoing context.
This is strange, since in the interface says that it's possible to submit a template without participating to a context:
If you confirm, the web page tries to send the template in a context (see sendToContest):
POST https://instantview.telegram.org/api/my?hash=<omissis>
section=<domain>&method=sendToContest
The request fails without any human error. I think it's a bug in the Instant View submission platform, that does not work without a context.
Here a bug report related to "Cannot submit InstantView":
https://bugs.telegram.org/c/21634

Invite facebook friends on wordpress website

I want to have invite facebook friends functionality. I have made app on facebook and have app id.Now when I use any plugin or custom code for opening invite friends dialog box, it gives error of
"Game Requests are only available to games."
I am not getting why this error coming? Can any one please help me? Do I need to change some settings in facebook app which I have created?
may be the below guide line will assist you.
You must set your Facebook app as a game category, in the App settings. Otherwise, you can't use GameRequestDialog, because your app is not a game. In this case, Facebook gives you AppInviteDialog

How to use Payum Stripe Checkout Button in our own template?

I just added the Payum Bundle to my e-commerce application so users will be able to pay online. However, I'm having a problem with Payum templates.
When the user chooses to pay using stripe, I redirect them to the prepareAction in the PaymentController as described by stripe documentation. The payment works fine. However, the user arrives first in a blank page only with the stripe button and then he sees the popup window to fill the payment information. What I wanted is that he arrives directly on this form without this blank page.
I am trying to find a way to override this template or include it in my template but I cannot figure out how to do. I think I must have been doing something wrong. It should be easier to integrate stripe from what I read. Could anybody help me?

Donation button/link in a free app

Good day all,
I've recently developed an app that will be submitted soon to the App Store. I want to submit this app for free and was wondering if I could implement a button with the PayPal donation logo where it basically says "Donate for developing" or something related to that. I've seen many posts going around donations and apps. What I haven't found exactly is if I am allowed to have a donation button that will take the user to a PayPal link in Safari where they can make a donation for my development.
Am I allowed to do it?
Will Apple reject my app because of this?
Do you have any experience regarding this situation?
Thanks a lot for your help!
Apple will likely reject apps with a donate button taking you to PayPal.
You could implement in-app purchase to remove ads or something. That takes you to Apple's App store, which Apple does allow. And I am not sure whether an app actually needs to display ads in order to have an in-app purchase button to remove ads.
Or put a donate button on your web site, not on the app.

Resources