All Projects → dzafel → pinterest-pinner

dzafel / pinterest-pinner

Licence: GPL-2.0 license
Programmatically create a pin. Pinterest auto-poster (auto-pinner, autoposter, autopinner, api).

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to pinterest-pinner

Postwill
Posting to the most popular social media from Ruby
Stars: ✭ 181 (+465.63%)
Mutual labels:  pinterest
PinCodeView
No description or website provided.
Stars: ✭ 29 (-9.37%)
Mutual labels:  pin
secrets
Simple Secret Sharing Service for social and decentralised management of passwords
Stars: ✭ 30 (-6.25%)
Mutual labels:  pin
Bubbleactions
An open source implementation of the long press actions in the Pinterest app.
Stars: ✭ 217 (+578.13%)
Mutual labels:  pinterest
flutter sticky and expandable list
粘性头部与分组列表Sliver实现 Build a grouped list, which support expand/collapse section and sticky headers, support use it with sliver widget.
Stars: ✭ 116 (+262.5%)
Mutual labels:  pin
pinterest-php
📌 PHP client for the official Pinterest API (v1)
Stars: ✭ 50 (+56.25%)
Mutual labels:  pinterest
Pinterest Api Php
A PHP wrapper for the official Pinterest API. 📌
Stars: ✭ 151 (+371.88%)
Mutual labels:  pinterest
react-native-awesome-pin
A highly interactive and customisable PIN code screen for React Native.
Stars: ✭ 28 (-12.5%)
Mutual labels:  pin
iris
Repositório oficial da BOT Íris, uma robô em português, inglês e espanhol para WhatsApp [Com MD/Sem MD], possui centenas de comandos diferentes, a lista vai de fazer stickers a jogar xadrez ou blackjack.
Stars: ✭ 166 (+418.75%)
Mutual labels:  pinterest
dbt ad reporting
Fivetran's ad reporting dbt package. Combine your Facebook, Google, Pinterest, Linkedin, Twitter, Snapchat and Microsoft advertising spend using this package.
Stars: ✭ 68 (+112.5%)
Mutual labels:  pinterest
Pinterestlayout
Custom collection view layout inspired by Pinterest layout. Written in Swift.
Stars: ✭ 219 (+584.38%)
Mutual labels:  pinterest
Gatsby Remark Embedder
Gatsby Remark plugin to embed well known services by their URL.
Stars: ✭ 245 (+665.63%)
Mutual labels:  pinterest
vpin
基于 vue 的钉子组件,把你的内容固定到屏幕中📌。
Stars: ✭ 12 (-62.5%)
Mutual labels:  pin
Quickactionview
View that shows quick actions when long pressed, inspired by Pinterest
Stars: ✭ 185 (+478.13%)
Mutual labels:  pinterest
DPOTPView
Customisable OTP view and Passcode view
Stars: ✭ 52 (+62.5%)
Mutual labels:  pin
Adam Blog
Adam Blog is a minimal clear theme for Jekyll
Stars: ✭ 167 (+421.88%)
Mutual labels:  pinterest
JonContextMenu
A beautiful and minimalist arc menu like the Pinterest one, written in Swift
Stars: ✭ 60 (+87.5%)
Mutual labels:  pinterest
Adsorbent
Adsorbent of RecyclerView , RecyclerView吸顶
Stars: ✭ 25 (-21.87%)
Mutual labels:  pin
pinterest-backend
Pinterest Clone Backend in Phoenix Framework
Stars: ✭ 19 (-40.62%)
Mutual labels:  pinterest
pinterest-web-scraper
Scraping Visually Similar Images from Pinterest
Stars: ✭ 26 (-18.75%)
Mutual labels:  pinterest

DEPRECATED AND NO LONGER MAINTAINED, however, as of 2017-03-01, this library still works.

Please see the official Pinterest API.

PinterestPinner PHP Class

Pinterest API is not released yet, so there is no way to programmatically create a pin. So here is this class for - Autoposter, Autopinner, whatever you like to call it.

This is an unofficial API, and likely to change and break at any moment.

PinterestPinner is not a way to avoid any Pinterest terms, conditions, rules and regulations. Please use the class in accordance with all Pinterest rules. If you abuse the service you will be banned there.

Please follow the PSR-2 coding standards if you would like to create a pull request.

Installation

You can easily install PinterestPinner with the following command:

composer require dzafel/pinterest-pinner:2.*

or alternatively, include a dependency for dzafel/pinterest-pinner in your composer.json file. For example:

{
    "require": {
        "dzafel/pinterest-pinner": "2.*"
    }
}

How to use it?

To add a new pin:

try {
    $pinterest = new \PinterestPinner\Pinner;
    $pin_id = $pinterest->setLogin('Your Pinterest Login')
        ->setPassword('Your Pinterest Password')
        ->setBoardID('Pinterest Board ID')
        ->setImage('Image URL')
        ->setDescription('Pin Description')
        ->setLink('Pin Link')
        ->pin();
} catch (\PinterestPinner\PinnerException $e) {
    echo $e->getMessage();
}

You can also get additional info:

// Get a list of boards
$boards = $pinterest->getBoards();

// Get a list of pins
$pins = $pinterest->getPins();

// Get logged in user data
$user = $pinterest->getUserData();

Changelog

2.0.7 (2016-09-22)

  • FIX: composer.json version fix

2.0.6 (2016-09-21)

  • FIX: getUserData() should load the user details from tree > data array path instead of resourceDataCache (#21)

2.0.5 (2016-06-11)

  • Added Guzzle 6 support (required: >=5.0)

2.0.4 (2016-03-12)

  • FIX: _responseToArray() now search for config JSON in <script id="jsInit1"> instead of P.main.start() function (#17)

2.0.3 (2015-11-11)

  • FIX: new getBoards() logic, now it returns all boards instead of just first 50 (#16)

2.0.2 (2015-10-05)

  • FIX: typo in init function - P.start.start instead of P.main.start (#15)
  • FIX: getBoards() always returned empty array, because getPins() returned pins collection, not full response json (#15)

2.0.1 (2015-09-23)

  • FIX: init function name changed from P.scout.init to P.main.start (#14)
  • FIX: do preg_match() only if response value is a string
  • NEW: added public $user_data variable
  • NEW: changed some private methods and vars to protected so class can be extended

2.0 (2015-04-09)

  • NEW: Library is now composer friendly
  • NEW: Added Guzzle dependency

1.0.1 (2014-11-02)

  • FIX: reload CSRF token upon login

1.0 (2014-06-04)

  • Initial release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].