2016 年 第 50 週 Facebook 同步週報 (5 篇)

本文引用圖文皆取自[一介資男]Facebook粉專頁面,如有侵權請[來信]告知。

1.

There are various occasions where you would like to search for files that have been changed/created in your Linux system recently or within any time frame. For example, as a system admin, you have done some configuration on your Linux system, but forgot where it was saved. You want to verify whether...(圖片描述:There are various occasions wh…)

[Linux] 找出最近被修改過的檔案

用來追蹤伺服器有高 IO 讀取時的好用方法

http://xmodulo.com/how-to-find-recently-modified-files-on-linux.html

2016-12-15 17:55:52 發佈 | 內文分享連結

2.

I have two webapps WebApp1 and WebApp2 in two different domains. I am setting a cookie in WebApp1 in the HttpResponse. How to read the same cookie from HttpRequest in WebApp2? I know it sounds we...(圖片描述:I have two webapps WebApp1 and…)

#跨網域 處理 #session 這件事首要處理的就是 #安全性,這倒也不是什麼危險的事,就是要照著規則走,下面這篇問答中的操作可以實現:

http://stackoverflow.com/questions/3342140/cross-domain-cookies

或是這篇的做法(用token識別)

https://404it.no/en/blog/javascript_cross-domain_request_with_session

2016-12-14 05:43:41 發佈 | 內文分享連結

3.

Graph API Reference Note node documentation presenting a Facebook Note created by a user or a page(圖片描述:Graph API Reference Note node …)

{
“error”: {
“message”: “(#12) notes API is deprecated for versions v2.0 and higher”,
“type”: “OAuthException”,
“code”: 12,
“fbtrace_id”: “GnhBn6cEy08”
}
}

還想說用 #Facebook #網誌 #notes 來寫東西 #同步 到 #網站 的!

結果在 #API v2.0 後就掰了…

https://developers.facebook.com/docs/graph-api/reference/note

2016-12-13 14:26:24 發佈 | 內文分享連結

4.

Fix wordpress file permissions(圖片描述:Fix wordpress file permissions…)

看到 #WordPress #目錄 #權限 #設定 有問題的時候,套這個就對了~

https://gist.github.com/Adirael/3383404

搭配此篇文: https://codex.wordpress.org/Changing_File_Permissions

2016-12-12 16:33:32 發佈 | 內文分享連結

5.

#WordPress 4.7 後核心內建 #JSON #API

這就代表應用可以更多了~

http://v2.wp-api.org/extending/adding/

從加入一個路由端點開始

2016-12-11 04:47:41 發佈 | 內文分享連結

以上資訊由 FB轉發機器人V2.0 彙整發佈。

Facebook 外掛整合


Share:

Comments are closed, but trackbacks and pingbacks are open.