#BETHETWIST

Our pieces were designed to be styled in countless different ways, empowering you to bring your own personal spin to each one and wear it the way you want. The PI’A aesthetic is classic, with a twist, but the real twist in each piece is you—you are the key to creating a truly unique look.

Be the twist.
[[slideshow effect="fade" button-nav="thumbnails"]] #slideshow-image=16 #link=/product/camden-shirt/##nw #slideshow-image=17 #link=/product/tuileries-top/##nw #slideshow-image=18 #link=/product/bowery-top/##nw #slideshow-image=19 #link=/product/highway-61-neckpiece/##nw #slideshow-image=20 #link=/product/wydham-jacket/##nw #slideshow-image=21 #link=/product/mercer-shirt/##nw [[/slideshow]]

Tag @piapostrophea and hashtag #BeTheTwist to show us how you styled your PI’A pieces.



var igWidget = document.getElementById("igWidget");

$.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: "https://api.instagram.com/v1/tags/bethetwist/media/recent?client_id=55296c4a512941f8b3884dff94eb49da",
success: function(jsonp) {
var posts = jsonp.data;
console.log(posts);
var count = 0;
for(i = 0; i < posts.length; i++) {
var post = posts[i];
if(post.type != "image") {
continue;
}
var mediaId = post.id;
var imgSrc = post.images.standard_resolution.url;
var link = post.link;
if(checkLikes(mediaId, imgSrc, link))
count++;
if(count >= 18) {
break;
}
}
}
});

function checkLikes(mediaId, imgSrc, link) {
$.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
async: false,
url: "https://api.instagram.com/v1/media/" + mediaId + "/likes?client_id=55296c4a512941f8b3884dff94eb49da",
success: function(likesjsonp) {
var likes = likesjsonp.data;
for(j = 0; j < likes.length; j++) {
var like = likes[j];
if(like.username == "piapostrophea") {
handlePost(imgSrc, link);
return true;
}
}
}
});
return false;
}

function handlePost(imgSrc, link) {
var img = document.createElement("img");
img.src = imgSrc;
var a = document.createElement("a");
a.href = link;
a.appendChild(img);
var igTile = document.createElement("div");
igTile.className = "igTile";
igTile.appendChild(a);
var igTileWrap = document.createElement("div");
igTileWrap.className = "igTileWrap";
igTileWrap.appendChild(igTile);
igWidget.appendChild(igTileWrap);
}