Home » Wapka Codes 2022 » How to get wapka user info by code without user lister
Yes possible we are going to use angular js to make special and useful even when where we are going to display the user info is not a wapka site.
here we go.
Create page called "import.js".
/import.js
---user lister
----configuration:
<'id>:GET(userid);<'/id>
----code:
var app = angular.module('User', []); app.controller('Information', function($scope) { $scope.Username= "%username%";
$scope.Id= "%id%";
$scope.Avatar= "%avatar%";
$scope.Logindate= "%logindate%";
$scope.Country= ":VALUE(%country%).OR(%var(country)%);";
});
you can add more scopes
Now all is done.
Any page or site just add
<'script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"><'/script>
<'div ng-app="User" ng-controller="Information">Hello {{Username}},you are welcome to my site and your info:
Username: {{Username}}
Id: {{Id}}
more and more scope. <'/div>then under <'script src="http://mywapkasite.com/import/?userid=1234"><'/script>
comment |
Recent Comments