API

With the MyPornProfile API, you can easily integrate our content into your site.

Registration

You need to register for an API token. All API calls require this token, and you should keep it a secret. Users that abuse the API (with excessive requests, etc.) can be disabled.

Making API Calls

All calls to the API are delivered via HTTP GET requests to http://mypornprofile.com/api/{method}. Each and every call must include your api_token, delivered as part of the URL, not as a querystring parameter. See the usage examples below.

API Methods

The API currently has three methods:

user_pics

Required parameters: api_token, user_id

Description: This method returns a JSON object containing links to all of a user's pictures.

Example: This query will retrieve all of the pictures for user #1337:


http://mypornprofile.com/api/user_pics/{api_token}/1337

user_info

Required parameters: api_token, user_id

Description: This method returns a JSON object containing the user's MPP user_id as well as their username, Twitter handle and profile URL.

Example: This query will retrieve information for user #1337:


http://mypornprofile.com/api/user_info/{api_token}/1337

pic_info

Required parameters: api_token, pic_id

Description: This method returns a JSON object containing information about a specific picture, including its owner's MPP user_id, its viewcount, comment count and description, as well as its direct URL.

Example: This query will retrieve information for picture #1337:


http://mypornprofile.com/api/pic_info/{api_token}/1337

Register and become a member

Step 1 of 3

Create an account in 3 easy steps





Step 2 of 3

Connect your social profiles to your account

Connect your Twitter account to start using our Twitter pic sharing service as well as other notification options.

Connect to Tumblr to link your MyPornProfile account with your Tumblr blog. Once you connect, your photo uploads will be automatically posted to Tumblr.



Skip this Step

Step 3 of 3

Upload your profile picture or use the default picture.


Skip this Step

Congratulations!

You are now a member of MyPornProfile! You can learn more about the many amazing features of the site by visiting the FAQ page. We look forward to having you as an active member of the community.


Go to Admin page

Login to your account



Not a member yet?

Register now. It only takes a minute.

Forgot your password?

Please enter your email to reset your password.