Comments (6)
Hi, very strange. I have tried it now, and the output is following. Can you provide more details about your code? Or are you using the latest version of the lib?
Array
(
[origin_pinner] => Array
(
[username] => AllieAlaska
[first_name] => Genevieve
[domain_url] =>
[twitter_url] =>
[domain_verified] =>
[image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/AllieAlaska_1444327826_75.jpg
[explicitly_followed_by_me] =>
[location] =>
[full_name] => Genevieve Bolduc
[indexed] => 1
[verified_identity] => Array
(
)
[image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/AllieAlaska_1444327826_30.jpg
[followed_by_me] =>
[type] => user
[id] => 493425840332222868
)
[domain] => huffingtonpost.com
[image_signature] => 64fa4a49228821b6e00221cd9eb7984a
[like_count] => 0
[images] => Array
(
[736x] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/736x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 480
[height] => 480
)
[60x60] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/60x60/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 60
[height] => 60
)
[474x] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/474x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 474
[height] => 474
)
[600x315] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/600x315/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 480
[height] => 315
)
[564x] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/564x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 480
[height] => 480
)
[236x] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/236x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 236
[height] => 236
)
[136x136] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/136x136/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 136
[height] => 136
)
[orig] => Array
(
[url] => https://s-media-cache-ak0.pinimg.com/originals/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[width] => 480
[height] => 480
)
)
[id] => 393994667383919015
[price_currency] => USD
[is_promoted] =>
[description_html] => Lumberjack Cake
[title] => Google Images
[buyable_product] =>
[comments] => Array
(
[bookmark] =>
[data] => Array
(
)
[uri] => /v3/pins/393994667383919015/comments/
)
[access] => Array
(
)
[comment_count] => 0
[board] => Array
(
[category] => other
[is_collaborative] =>
[layout] => default
[description] =>
[privacy] => public
[url] => /dalechurch33/food/
[image_cover_url] => https://s-media-cache-ak0.pinimg.com/custom_covers/200x150/393994736090160288_1462559037.jpg
[pin_thumbnail_urls] => Array
(
[0] => https://s-media-cache-ak0.pinimg.com/75x75/68/8a/15/688a1573b8c8dbf3544c0960a7f79ad1.jpg
[1] => https://s-media-cache-ak0.pinimg.com/75x75/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
[2] => https://s-media-cache-ak0.pinimg.com/75x75/47/26/fe/4726fe6f504374fff0a79e922d27d669.jpg
[3] => https://s-media-cache-ak0.pinimg.com/75x75/0f/9f/fb/0f9ffbba25c932b127b62476e7215b31.jpg
[4] => https://s-media-cache-ak0.pinimg.com/75x75/32/4c/b2/324cb27e8a95edf67f56c3eea829fc4d.jpg
)
[image_thumbnail_url] => https://s-media-cache-ak0.pinimg.com/upload/393994736090160288_board_thumbnail_2016-06-01-18-47-09_13574_60.jpg
[access] => Array
(
)
[owner] => Array
(
[id] => 393994804809205480
)
[map_id] => pinterest.ijz1714i
[followed_by_me] =>
[type] => board
[id] => 393994736090160288
[name] => Food
)
[link_domain] => Array
(
[official_user] => Array
(
[username] => huffingtonpost
[first_name] => Huffington Post
[domain_url] => www.huffingtonpost.com
[twitter_url] => https://twitter.com/HuffingtonPost
[domain_verified] => 1
[image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/huffingtonpost_1443041980_75.jpg
[explicitly_followed_by_me] =>
[location] => New York, New York.
[full_name] => Huffington Post
[indexed] => 1
[verified_identity] => Array
(
[verified] => 1
[name] => huffingtonpost
)
[image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/huffingtonpost_1443041980_30.jpg
[followed_by_me] =>
[type] => user
[id] => 52424920570792274
)
)
[type] => pin
[method] => extension
[has_bad_category] =>
[attribution] =>
[description] => Lumberjack Cake
[price_value] => 0
[liked_by_me] =>
[show_personalize_field] =>
[is_playable] =>
[rich_metadata] =>
[via_pinner] => Array
(
[username] => brookedmoran
[first_name] => Brooke π
[domain_url] =>
[twitter_url] =>
[domain_verified] =>
[image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/brookedmoran_1445725875_75.jpg
[explicitly_followed_by_me] =>
[location] =>
[full_name] => Brooke π Moran
[indexed] =>
[verified_identity] => Array
(
)
[image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/brookedmoran_1445725875_30.jpg
[followed_by_me] =>
[type] => user
[id] => 463589492800891338
)
[link] => http://www.huffingtonpost.com/entry/elizabeth-marek-lumberjack-plaid-cake_us_566ef89ee4b0e292150e9368
[is_repin] => 1
[rich_recipe_top_ingredients] => Array
(
)
[buyable_product_availability] =>
[pinner] => Array
(
[username] => dalechurch33
[first_name] => Dale
[domain_url] =>
[twitter_url] =>
[domain_verified] =>
[image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/dalechurch33_1396967626_75.jpg
[explicitly_followed_by_me] =>
[location] =>
[full_name] => Dale Church
[indexed] => 1
[verified_identity] => Array
(
)
[image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/dalechurch33_1396967626_30.jpg
[followed_by_me] =>
[type] => user
[id] => 393994804809205480
)
[repin_count] => 0
[tracked_link] => http://www.huffingtonpost.com/entry/elizabeth-marek-lumberjack-plaid-cake_us_566ef89ee4b0e292150e9368
[created_at] => Thu, 02 Jun 2016 22:29:53 +0000
[privacy] => public
[dominant_color] => #867c77
[place] =>
[embed] =>
[is_video] =>
)
from php-pinterest-bot.
Hi @seregazhuk ,
I just create a new folder, get the new code and run again. Surprisingly, it works like a charm. Maybe the reason come from the fact that I don't use the latest version of the lib. Thank you for your quick response!
from php-pinterest-bot.
Hello @seregazhuk ,
Can you please also support an option to register a business account: "https://business.pinterest.com/en"
Thanks,
from php-pinterest-bot.
Hi, @huuvu1109 !
Try this:
Register a business account. The last parameter with website url is optional:
$bot->user->registerBusiness('[email protected]', 'password', 'BusinessName');
$bot->user->registerBusiness('[email protected]', 'password', 'BusinessName', 'http://yoursite.com');
Convert your account to a business one. Requires log in. The last parameter with website url is optional:
$bot->user->convertToBusiness('businessName');
$bot->user->convertToBusiness('businessName', 'http://yoursite.com');
from php-pinterest-bot.
Thank you very much @seregazhuk ,
Pinterest also allows to pin from a local file in computer. I think it's nice feature. Can you please also support that. Something like:
$pinId = $bot->pins->create('filename.jpg', $boards[0]['id'], 'pin description', 'http://site.com');
from php-pinterest-bot.
@huuvu1109 fixed. Just pass a path to your file, instead of url:
$pinId = $bot->pins->create('image.jpg', $boardId, 'description');
from php-pinterest-bot.
Related Issues (20)
- Create APP and Get Token
- Problem to create a new pin HOT 6
- [Invalid email.] When Registering Pinterest
- ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅.
- Registration error: Invalid parameters. HOT 2
- account banned HOT 1
- how can be scheduled images to go live at a later date on pinterest using api in php? HOT 1
- Keywords recommend not working anymore HOT 1
- Can we create a pin with access_token?
- Domain Spam or Blocked Check?
- Error when create acc
- is it possible to add multiple keywords ? HOT 4
- Pinterest rate limits HOT 2
- Get Boards Return Empty
- Observing the PhP Fatal Error again with the v5.9.1 HOT 9
- Can you please help me to use the edit command ?
- Your requirements could not be resolved to an installable set of packages.
- Autoloader issue
- Login method not working HOT 9
- Is this project dead? Cannot connect Pinterest Account.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-pinterest-bot.