Taking Credit Cards Inside a Facebook App - php

Tell me if this is a) possible and b) allowed.
I'd like to build a checkout page that takes credit cards and processes them inside Facebook, specifically inside a dedicated Facebook app that will be built for this.
Can I just put this in an iFrame with SSL in the application?

Shouldn't be a problem unless you're working with game in app purchase. Then FB requires you to use FB credits. As long as you can offer up the link securely you should be fine.

Related

Is it possible to use intuit quickbooks online API without creating an app

I went through the Quickbooks online API documentation and it looks like I've to create an App in Developer Dashboard and then provide Terms and Conditions, privacy policy pages, Connect/ Disconnect URLs, etc. in order to to use it. I need to implement this feature for my own website and don't want to make it an App. Can't I simply make API calls from my website, without having to go through the hassle of creating an APP, go through verification process and all the details?
You have to make an app, yes.
You do not need to publish the app or make it available to anyone outside of yourself.
All an "app" is in this context is basically registering your email address with Intuit, so that you can get a set of OAuth keys to be able to authenticate. Nothing more. You can use dummy URLs for the privacy, terms and conditions, etc. URLs.
The "hassle" is as simple as just putting the a dummy URL in and registering your email address with Intuit so you can get credentials.

Zingaya possible call from web page Likewise By using Nexmo/Twilio (possible/not possible) to call click that button from web page?

Anybody help me for answer the following Questions.
Zingaya enables voice calls through any computer, right from a webpage. No download or phone is required. Zingaya offers this seamless voice calling capability to website operators – whether it’s a huge e-commerce enterprise or your personal blog. Simply embed a “Call” button into your website. Visitors can click that button and the call is immediately forwarded to your landline, mobile phone, Skype account, or other computer. All you need is a website; all your visitors need is a browser and microphone. It’s that easy.
https://zingaya.com/
https://api.zingaya.com/ZingayaAPI2/Reference.pdf
Likewise, By Using Nexmo/Twilio make a call from web page to particular mobile number is possible or not.
It is possible to do this with Nexmo. We wrote a blog post about this back in 2018. It still provides a good example of the code you would need to implement to make this possible.
However things have changed a little since then and it is now possible to build a click to call button using the Nexmo JavaScript Client SDK.
All the code and all the steps to go through to build it are in the Client SDK Documentation
Absolutely possible with Twilio using a few different approaches.
Call across the public telephone network (PSTN) - connecting both via their regular phone.
Connecting the two parties and calls using VoIP (using WebRTC)
A combination of both approaches for each call leg
You can also layer on a lot of additional call routing logic and/or mix channels based on your requirements (voice and SMS for example).
Build Click-to-Call into your Web Application
Twilio Client Javascript Quickstart

Simplest way to get data from Google Analytics?

I am building a service like Wix.com, users can build simple mutli-pages website with ease. Every website will be including in a global Google Analytics account with a unique profile, then the tracking code is to be placed in the website pages.
Now, on the website dashboard i want to show the online visitors and the total number of visists for the website for each website separatly, trying to do so i have :
Tried using GAPI (http://code.google.com/p/gapi-google-analytics-php-interface/) but due to Google Analytics major update it doesn't work anymore.
I found Google Core reporting API for Analytics, but i believe it's made for 3rd party applications that accesses GA data for their clients, meaning that the user should have a Google account and GA profile for the website, and the App just connects to the account and retrieves data. And this of course isn't the case here; i can't ask the user to create a Google account and embed the tracking code in the website HTML; else what am i here for ?
Got the picture ? I need the simplest method to do this, no fancy stuff.
PS: Minutes ago i found this: Google Analytics Query Explorer (http://ga-dev-tools.appspot.com/explorer/), it's a 3rd party app that builds custom queries for GA and gives you the link, something like that :
https://www.googleapis.com/analytics/v3/data/ga?ids= (the ID) &dimensions=ga%3AvisitCount&metrics=ga%3Avisitors&segment=gaid%3A%3A-1&start-date=2013-02-01&end-date=2013-02-23&max-results=50
Now, trying to access the URL (thinking; this is easy :) ) the respond is a request for login first :
{"error":{"errors":[{"domain":"global","reason":"required","message":"Login Required","locationType":"header","location":"Authorization"}],"code":401,"message":"Login Required"}}
Thanks in advance.
Unless you have fewer than 50 clients this plan is not going to work the way you're asking for. (There is a limit of 50 profiles per account.)
The client will have to make their own GA number and provide it to you as a setting for their website.
In order to display the customers reports on a dashboard on your site you're also going to have to get them to authorize a GA App you create for access.

Simple SSO system like Google Identity Toolkit but without the locked UI?

The Google Identity Toolkit is awesome. So clean and easy to set up! Trouble is, it forces you to use its UI, which isn't working for me. Is there anything else out there that will let the visitor click a GMAIL or YAHOO Mail icon to trigger an OpenID (or oAuth2) request, without hijacking the interface?
I've already implemented Facebook Logins in my site, which lets me customize the sign-in button however I want. For example, here's my current sign-in menu (with PHP/AJAX/MySQL site authentication for those who don't want to use their Facebook/etc. account to sign in):
Clicking FACEBOOK triggers the Facebook JS SDK for the login. Simple enough. I just want a GMAIL logo and YAHOO logo below it.
Any suggestions?
If you want to avoid the UI of a high level library, you're going to have to use a lower level library. In particular, you're going to need an OAuth 2 library. There's not that many of them (surprisingly), but your best bet is likely going to be the one authored by google: http://code.google.com/p/google-api-php-client/wiki/OAuth2
If you're looking for a solution that allows you to leverage all of the APIs for the major ID providers, you might want to test out Janrain Engage.
Here's a quick lowdown on our Engage API endpoints (specifically, auth_info), for social authentication:
http://developers.janrain.com/documentation/api/#Engage
You can have complete control over the UI and display just Google and Yahoo.
http://janrain.com/products/engage/ (for marketing-ese)

Logging in to other wesites using Facebook Account

I am developing an advertisement site in PHP, the user can only list there products by logging in using there account in the site. Also i need to have another option for users to login into the website using there Facebook account and hence advertise about their products. How can i implement? Do i need to create any application instance in FB for this? I am looking forward for valuable suggestions.
Create an app.
Look into authentication, and see which method (server-side vs. client-side) fits you.
Once you've implemented that, you can make graph api calls. https://graph.facebook.com/me gives you the user's basic details
Good luck.

Categories