To integrate the Yozax API, register your development application and obtain your APP_ID and APP_SECRET. Then, start the OAuth process by redirecting users to the authorization URL with your APP_ID. After the user authorizes your app, they will be redirected to your domain with a code. Use this code to generate an access token and retrieve user data.
You can retrieve various types of data including user profile information, posts, pages, groups, products, followers, following, and friends.
The maximum number of records you can retrieve in a single request is 100. By default, 20 records will be returned unless you specify a different limit.
To generate an access token, direct the user to the authorization URL with your APP_ID. After the user authorizes your app, they will be redirected to your domain with a code. You can exchange this code for an access token by making a request to the authorization endpoint.
The JSON response will contain the status of the request, the version of the API, and the user data, including fields such as user ID, username, first name, last name, gender, birthday, and profile details like their profile and cover picture, website, and verification status.
To integrate the sharer plugin, first add the provided JavaScript code inside the
tag of your website. Then, place the share button anywhere on your page, which allows users to share the page when clicked.The JavaScript code opens a new window with the shareable link when a user clicks the share button. It ensures the window opens with the correct size and focus for easy sharing.
You can customize the share button by changing the button text, its style, or its placement on the page. The button can be styled with custom classes or CSS to match your website design.
Yes, you can change the URL by modifying the link inside the OpenWindow() function in the JavaScript code. Replace 'http://yoursite.com/' with the URL you want users to share.
No, there is no built-in limit for the number of shares. Users can share the page as many times as they like, provided they click the share button again for each share.